diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gdisp/UC8173/gdisp_lld_UC8173.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gdisp/UC8173/gdisp_lld_UC8173.c b/drivers/gdisp/UC8173/gdisp_lld_UC8173.c index 2a485925..97dd515a 100644 --- a/drivers/gdisp/UC8173/gdisp_lld_UC8173.c +++ b/drivers/gdisp/UC8173/gdisp_lld_UC8173.c @@ -32,7 +32,7 @@ #endif #define PRIV(g) ((UC8173_Private*)((g)->priv)) -#define FRAMEBUFFER(g) ((uint8_t*)(PRIV(g))+1) +#define FRAMEBUFFER(g) ((uint8_t *)(PRIV(g)+1)) #define GDISP_FLG_NEEDFLUSH (GDISP_FLG_DRIVER << 0) #if GDISP_LLD_PIXELFORMAT == GDISP_PIXELFORMAT_MONO @@ -366,7 +366,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay* g) y = g->p.x; break; } - + // Modify the framebuffer content p = &FRAMEBUFFER(g)[xyaddr(x,y)]; *p &=~ xybit(x, LLDCOLOR_MASK()); |