diff options
author | inmarket <inmarket@ugfx.org> | 2017-03-04 15:06:30 +1000 |
---|---|---|
committer | inmarket <inmarket@ugfx.org> | 2017-03-04 15:06:30 +1000 |
commit | f934fc4a49c85baf534006e7180408cab674663c (patch) | |
tree | e7b1624073153c223e8204cd8965934fbcb7436c /drivers | |
parent | c91715491d09d6a0d4ba49ad364d960b1f56b5ef (diff) | |
download | uGFX-f934fc4a49c85baf534006e7180408cab674663c.tar.gz uGFX-f934fc4a49c85baf534006e7180408cab674663c.tar.bz2 uGFX-f934fc4a49c85baf534006e7180408cab674663c.zip |
Fix introduces bug in gdisp UC8173 driver
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gdisp/UC8173/gdisp_lld_UC8173.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gdisp/UC8173/gdisp_lld_UC8173.c b/drivers/gdisp/UC8173/gdisp_lld_UC8173.c index ba62c2fc..73bc4e97 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 |