aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/Nokia6610GE8/gdisp_lld.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-09-30 17:04:13 +1000
committerinmarket <andrewh@inmarket.com.au>2013-09-30 17:04:13 +1000
commitc132a5bb8ada70bc0a77832033ee6fd68293ceea (patch)
tree7a10db611b99e778a65e82f1c3211dac3d220dc2 /drivers/gdisp/Nokia6610GE8/gdisp_lld.c
parentfd01f1a4f3569e84884c46388e2e3df7e1647365 (diff)
downloaduGFX-c132a5bb8ada70bc0a77832033ee6fd68293ceea.tar.gz
uGFX-c132a5bb8ada70bc0a77832033ee6fd68293ceea.tar.bz2
uGFX-c132a5bb8ada70bc0a77832033ee6fd68293ceea.zip
Tidy up some code so it looks more standard accross drivers
Diffstat (limited to 'drivers/gdisp/Nokia6610GE8/gdisp_lld.c')
-rw-r--r--drivers/gdisp/Nokia6610GE8/gdisp_lld.c14
1 files changed, 7 insertions, 7 deletions
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