aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/SSD1289/gdisp_lld.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-03-04 23:50:21 +0100
committerJoel Bodenmann <joel@unormal.org>2013-03-04 23:50:21 +0100
commitb91e61957304aadb5af050740b89bb400f2a3983 (patch)
tree42d946f77f5f71e9de380244f04efc27e00ff593 /drivers/gdisp/SSD1289/gdisp_lld.c
parentfa2f4b0f1931df80dd4b63a75dffe6a1b46ec2b5 (diff)
downloaduGFX-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/SSD1289/gdisp_lld.c')
-rw-r--r--drivers/gdisp/SSD1289/gdisp_lld.c4
1 files changed, 2 insertions, 2 deletions
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);
}