diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-03-04 23:50:21 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-03-04 23:50:21 +0100 |
commit | b91e61957304aadb5af050740b89bb400f2a3983 (patch) | |
tree | 42d946f77f5f71e9de380244f04efc27e00ff593 /drivers/gdisp/SSD2119/gdisp_lld.c | |
parent | fa2f4b0f1931df80dd4b63a75dffe6a1b46ec2b5 (diff) | |
download | uGFX-b91e61957304aadb5af050740b89bb400f2a3983.tar.gz uGFX-b91e61957304aadb5af050740b89bb400f2a3983.tar.bz2 uGFX-b91e61957304aadb5af050740b89bb400f2a3983.zip |
__inline becomes inline because most compilers dont like the prefix
Diffstat (limited to 'drivers/gdisp/SSD2119/gdisp_lld.c')
-rw-r--r-- | drivers/gdisp/SSD2119/gdisp_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gdisp/SSD2119/gdisp_lld.c b/drivers/gdisp/SSD2119/gdisp_lld.c index b478c6d8..6fe92447 100644 --- a/drivers/gdisp/SSD2119/gdisp_lld.c +++ b/drivers/gdisp/SSD2119/gdisp_lld.c @@ -72,7 +72,7 @@ #define delay(us) chThdSleepMicroseconds(us) #define delayms(ms) chThdSleepMilliseconds(ms) -static __inline void set_cursor(coord_t x, coord_t y) { +static inline void set_cursor(coord_t x, coord_t y) { /* Reg SSD2119_REG_X_RAM_ADDR is 9 bit value * Reg SSD2119_REG_Y_RAM_ADDR is an 8 bit * Use a bit mask to make sure they are not set too high @@ -136,7 +136,7 @@ static void set_viewport(coord_t x, coord_t y, coord_t cx, coord_t cy) { set_cursor(x, y); } -static __inline void reset_viewport(void) { +static inline void reset_viewport(void) { set_viewport(0, 0, GDISP.Width, GDISP.Height); } |