diff options
Diffstat (limited to 'drivers/gdisp/KS0108/gdisp_lld_KS0108.c')
-rw-r--r-- | drivers/gdisp/KS0108/gdisp_lld_KS0108.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gdisp/KS0108/gdisp_lld_KS0108.c b/drivers/gdisp/KS0108/gdisp_lld_KS0108.c index af058ebb..20b3a5c9 100644 --- a/drivers/gdisp/KS0108/gdisp_lld_KS0108.c +++ b/drivers/gdisp/KS0108/gdisp_lld_KS0108.c @@ -159,7 +159,7 @@ LLDSPEC void gdisp_lld_write_color(GDisplay *g) { uint16_t data; data = (g->p.x >> 6) << 8; // Set the chip - if (g->p.color != White) + if (g->p.color != GFX_WHITE) data |= 0x01; // set dot write_data(g, data); } @@ -206,7 +206,7 @@ LLDSPEC void gdisp_lld_draw_pixel(GDisplay *g) { uint8_t data, j; set_viewport(g); - if (g->p.color != White) { + if (g->p.color != GFX_WHITE) { data = 0xFF; // set dot } else { |