diff options
Diffstat (limited to 'drivers/gdisp/ED060SC4/gdisp_lld_ED060SC4.c')
-rw-r--r-- | drivers/gdisp/ED060SC4/gdisp_lld_ED060SC4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gdisp/ED060SC4/gdisp_lld_ED060SC4.c b/drivers/gdisp/ED060SC4/gdisp_lld_ED060SC4.c index cd54155c..3272ca0a 100644 --- a/drivers/gdisp/ED060SC4/gdisp_lld_ED060SC4.c +++ b/drivers/gdisp/ED060SC4/gdisp_lld_ED060SC4.c @@ -59,7 +59,7 @@ /* Do a "blinking" clear, i.e. clear to opposite polarity first. * This reduces the image persistence. */ #ifndef EINK_BLINKCLEAR - #define EINK_BLINKCLEAR TRUE + #define EINK_BLINKCLEAR GFXON #endif /* Number of passes to use when clearing the display */ @@ -520,7 +520,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) { bitpos = (6 - 2 * (dx % EINK_PPB)); byte = block->data[dy][dx / EINK_PPB]; byte &= ~(PIXELMASK << bitpos); - if (gdispColor2Native(g->p.color) != Black) + if (gdispColor2Native(g->p.color) != GFX_BLACK) byte |= PIXEL_WHITE << bitpos; else byte |= PIXEL_BLACK << bitpos; |