diff options
Diffstat (limited to 'include/gdisp')
-rw-r--r-- | include/gdisp/gdisp.h | 2 | ||||
-rw-r--r-- | include/gdisp/lld/gdisp_lld.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/gdisp/gdisp.h b/include/gdisp/gdisp.h index 006fa08b..1b17fabe 100644 --- a/include/gdisp/gdisp.h +++ b/include/gdisp/gdisp.h @@ -271,7 +271,7 @@ extern GDisplay *GDISP; #elif GDISP_PIXELFORMAT == GDISP_PIXELFORMAT_MONO typedef uint8_t color_t; #define COLOR(c) ((color_t)(c)) - #define MASKCOLOR FALSE + #define MASKCOLOR TRUE #define RGB2COLOR(r,g,b) ((r|g|b) ? 1 : 0) #define HTML2COLOR(h) (h ? 1 : 0) #define RED_OF(c) (c ? 255 : 0) diff --git a/include/gdisp/lld/gdisp_lld.h b/include/gdisp/lld/gdisp_lld.h index b5d9c699..6f3a5e5f 100644 --- a/include/gdisp/lld/gdisp_lld.h +++ b/include/gdisp/lld/gdisp_lld.h @@ -191,6 +191,7 @@ struct GDisplay { #endif void * priv; // A private area just for the drivers use. + void * board; // A private area just for the board interfaces use. uint8_t systemdisplay; uint8_t controllerdisplay; |