Fix introduces bug in gdisp UC8173 driver

This commit is contained in:
inmarket 2017-03-04 15:06:30 +10:00
parent c91715491d
commit f934fc4a49

View File

@ -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