From 4c29822a756168779436a5c0b3af0c85ecb7d66d Mon Sep 17 00:00:00 2001 From: inmarket Date: Thu, 17 Oct 2013 14:56:11 +1000 Subject: [PATCH] Bugfix to remove compile error that only affects GCC ARM compiler --- include/gdisp/lld/gdisp_lld.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gdisp/lld/gdisp_lld.h b/include/gdisp/lld/gdisp_lld.h index b1e89f09..1a08b330 100644 --- a/include/gdisp/lld/gdisp_lld.h +++ b/include/gdisp/lld/gdisp_lld.h @@ -171,7 +171,7 @@ /* External declarations. */ /*===========================================================================*/ -typedef struct GDisplay { +struct GDisplay { GDISPControl g; // The public GDISP stuff - must be the first element #if GDISP_TOTAL_CONTROLLERS > 1 @@ -224,7 +224,7 @@ typedef struct GDisplay { color_t linebuf[GDISP_LINEBUF_SIZE]; #endif -} GDisplay; +}; #if GDISP_TOTAL_CONTROLLERS == 1 || defined(GDISP_DRIVER_VMT) || defined(__DOXYGEN__) #if GDISP_TOTAL_CONTROLLERS > 1