From 12757e4c9a1f4e6b7f105735941e9ef733b876eb Mon Sep 17 00:00:00 2001 From: inmarket Date: Mon, 25 Apr 2016 14:55:54 +1000 Subject: [PATCH] Update framebuffer driver for better information hiding --- drivers/gdisp/framebuffer/gdisp_lld_framebuffer.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 {