diff --git a/drivers/gdisp/framebuffer/gdisp_lld_framebuffer.c b/drivers/gdisp/framebuffer/gdisp_lld_framebuffer.c index e6a505ae..67c01b66 100644 --- a/drivers/gdisp/framebuffer/gdisp_lld_framebuffer.c +++ b/drivers/gdisp/framebuffer/gdisp_lld_framebuffer.c @@ -9,14 +9,15 @@ #if GFX_USE_GDISP +#define GDISP_DRIVER_VMT GDISPVMT_framebuffer +#include "gdisp_lld_config.h" +#include "../../../src/gdisp/gdisp_driver.h" + typedef struct fbInfo { void * pixels; // The pixel buffer coord_t linelen; // The number of bytes per display line } fbInfo; -#define GDISP_DRIVER_VMT GDISPVMT_framebuffer -#include "gdisp_lld_config.h" -#include "../../../src/gdisp/gdisp_driver.h" #include "board_framebuffer.h" typedef struct fbPriv {