From fd7e047bf80720cc5dc2801955a74b425942102c Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Tue, 20 Oct 2015 20:00:45 +0200 Subject: Moving INLINE macro to gfx.h main file as inlined functions are also used outside of gdisp.h --- src/gdisp/gdisp.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src') 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 -- cgit v1.2.3