diff options
| -rw-r--r-- | include/gdisp/gdisp.h | 1 | ||||
| -rw-r--r-- | src/gdisp/gdisp.c | 4 | 
2 files changed, 4 insertions, 1 deletions
diff --git a/include/gdisp/gdisp.h b/include/gdisp/gdisp.h index 4ba72580..2497801a 100644 --- a/include/gdisp/gdisp.h +++ b/include/gdisp/gdisp.h @@ -572,7 +572,6 @@ extern "C" {  	#include "gdisp/lld/gdisp_lld.h"  	/* The same as above but use the low level driver directly if no multi-thread support is needed */ -	#define _gdispInit(gdisp)									gdisp_lld_init()  	#define gdispIsBusy()										FALSE  	#define gdispClear(color)									gdisp_lld_clear(color)  	#define gdispDrawPixel(x, y, color)							gdisp_lld_draw_pixel(x, y, color) diff --git a/src/gdisp/gdisp.c b/src/gdisp/gdisp.c index 1b16ac53..5c0f4709 100644 --- a/src/gdisp/gdisp.c +++ b/src/gdisp/gdisp.c @@ -135,6 +135,10 @@  		gdisp_lld_init();  		gfxMutexExit(&gdispMutex);  	} +#else +	void _gdispInit(void) { +		gdisp_lld_init(); +	}  #endif  #if GDISP_NEED_MULTITHREAD  | 
