diff options
Diffstat (limited to 'drivers/gdisp/Nokia6610GE12/gdisp_lld.c')
-rw-r--r-- | drivers/gdisp/Nokia6610GE12/gdisp_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gdisp/Nokia6610GE12/gdisp_lld.c b/drivers/gdisp/Nokia6610GE12/gdisp_lld.c index ee9a5fc7..0f46e267 100644 --- a/drivers/gdisp/Nokia6610GE12/gdisp_lld.c +++ b/drivers/gdisp/Nokia6610GE12/gdisp_lld.c @@ -1,5 +1,5 @@ /* - ChibiOS/GFX - Copyright (C) 2012 + ChibiOS/GFX - Copyright (C) 2012, 2013 Joel Bodenmann aka Tectu <joel@unormal.org> This file is part of ChibiOS/GFX. @@ -89,7 +89,7 @@ // A very common thing to do. // An inline function has been used here incase the parameters have side effects with the internal calculations. -static __inline void setviewport(coord_t x, coord_t y, coord_t cx, coord_t cy) { +static inline void setviewport(coord_t x, coord_t y, coord_t cx, coord_t cy) { write_cmd2(CASET, x, x+cx-1); // Column address set write_cmd2(PASET, y, y+cy-1); // Page address set } |