aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/gdisp.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-10-20 20:00:45 +0200
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-10-20 20:00:45 +0200
commitfd7e047bf80720cc5dc2801955a74b425942102c (patch)
tree72585ca99b07cc3881bc4c16796d38f19c5ca9c4 /src/gdisp/gdisp.c
parent56794c2eb911ef6c3fe77517696b0ea1681f68e4 (diff)
downloaduGFX-fd7e047bf80720cc5dc2801955a74b425942102c.tar.gz
uGFX-fd7e047bf80720cc5dc2801955a74b425942102c.tar.bz2
uGFX-fd7e047bf80720cc5dc2801955a74b425942102c.zip
Moving INLINE macro to gfx.h main file as inlined functions are also used outside of gdisp.h
Diffstat (limited to 'src/gdisp/gdisp.c')
-rw-r--r--src/gdisp/gdisp.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gdisp/gdisp.c b/src/gdisp/gdisp.c
index 0ddee1f6..27b52e92 100644
--- a/src/gdisp/gdisp.c
+++ b/src/gdisp/gdisp.c
@@ -12,18 +12,6 @@
/* Include the low level driver information */
#include "gdisp_driver.h"
-#if 1
- #undef INLINE
- #if defined(__KEIL__) || defined(__C51__)
- #define INLINE __inline
- #else
- #define INLINE inline
- #endif
-#else
- #undef INLINE
- #define INLINE
-#endif
-
// Number of milliseconds for the startup logo - 0 means disabled.
#if GDISP_NEED_STARTUP_LOGO
#define GDISP_STARTUP_LOGO_TIMEOUT 1000