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/Nokia6610GE8/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/Nokia6610GE8/gdisp_lld.c')
-rw-r--r-- | drivers/gdisp/Nokia6610GE8/gdisp_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gdisp/Nokia6610GE8/gdisp_lld.c b/drivers/gdisp/Nokia6610GE8/gdisp_lld.c index 079900aa..ea076e75 100644 --- a/drivers/gdisp/Nokia6610GE8/gdisp_lld.c +++ b/drivers/gdisp/Nokia6610GE8/gdisp_lld.c @@ -88,7 +88,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 } |