From c132a5bb8ada70bc0a77832033ee6fd68293ceea Mon Sep 17 00:00:00 2001 From: inmarket Date: Mon, 30 Sep 2013 17:04:13 +1000 Subject: Tidy up some code so it looks more standard accross drivers --- drivers/gdisp/Nokia6610GE8/gdisp_lld.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'drivers/gdisp/Nokia6610GE8/gdisp_lld.c') diff --git a/drivers/gdisp/Nokia6610GE8/gdisp_lld.c b/drivers/gdisp/Nokia6610GE8/gdisp_lld.c index a41ab3c9..ce0400d1 100644 --- a/drivers/gdisp/Nokia6610GE8/gdisp_lld.c +++ b/drivers/gdisp/Nokia6610GE8/gdisp_lld.c @@ -17,9 +17,6 @@ #if GFX_USE_GDISP -#define GDISP_LLD_DECLARATIONS -#include "gdisp/lld/gdisp_lld.h" - /** * This is for the EPSON (GE8) controller driving a Nokia6610 color LCD display. * Note that there is also a PHILIPS (GE12) controller for the same display that this code @@ -52,10 +49,6 @@ * orientation support and the streaming operations will be emulated (as described above). */ -/*===========================================================================*/ -/* Driver local definitions. */ -/*===========================================================================*/ - #if defined(GDISP_SCREEN_HEIGHT) #warning "GDISP: This low level driver does not support setting a screen size. It is being ignored." #undef GDISP_SCREEN_HEIGHT @@ -65,7 +58,14 @@ #undef GDISP_SCREEN_WIDTH #endif +#define GDISP_LLD_DECLARATIONS +#include "gdisp/lld/gdisp_lld.h" #include "gdisp_lld_board.h" + +/*===========================================================================*/ +/* Driver local definitions. */ +/*===========================================================================*/ + #include "GE8.h" #define GDISP_SCAN_LINES 132 -- cgit v1.2.3