From b91e61957304aadb5af050740b89bb400f2a3983 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Mon, 4 Mar 2013 23:50:21 +0100 Subject: __inline becomes inline because most compilers dont like the prefix --- drivers/gdisp/SSD1289/gdisp_lld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gdisp/SSD1289/gdisp_lld.c') diff --git a/drivers/gdisp/SSD1289/gdisp_lld.c b/drivers/gdisp/SSD1289/gdisp_lld.c index de6edfe8..5b06e175 100644 --- a/drivers/gdisp/SSD1289/gdisp_lld.c +++ b/drivers/gdisp/SSD1289/gdisp_lld.c @@ -70,7 +70,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 0x004E is an 8 bit value * Reg 0x004F is 9 bit * Use a bit mask to make sure they are not set too high @@ -134,7 +134,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); } -- cgit v1.2.3