diff options
Diffstat (limited to 'drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c')
-rw-r--r-- | drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c b/drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c index 0611ae1c..b259b5ca 100644 --- a/drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c +++ b/drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c @@ -51,7 +51,7 @@ #define delay(us) gfxSleepMicroseconds(us) #define delayms(ms) gfxSleepMilliseconds(ms) -static inline void set_cursor(GDisplay *g) { +static GFXINLINE void set_cursor(GDisplay *g) { /* R20h - 8 bit * R21h - 9 bit */ @@ -77,7 +77,7 @@ static inline void set_cursor(GDisplay *g) { write_index(g, 0x22); } -static inline void set_viewport(GDisplay *g) { +static GFXINLINE void set_viewport(GDisplay *g) { /* HSA / HEA are 8 bit * VSA / VEA are 9 bit * use masks 0x00FF and 0x01FF to enforce this |