aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/S6D1121
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-11-05 00:36:54 +1000
committerinmarket <andrewh@inmarket.com.au>2013-11-05 00:36:54 +1000
commitece5bcd6ab566dc3bef092e6a0b5260ba771bc85 (patch)
tree8d7e8b2f0e04ac51b78dc24613a7e3701163af8d /drivers/gdisp/S6D1121
parent0399c33aebeae0f60c31f87a6649371ff2a78242 (diff)
downloaduGFX-ece5bcd6ab566dc3bef092e6a0b5260ba771bc85.tar.gz
uGFX-ece5bcd6ab566dc3bef092e6a0b5260ba771bc85.tar.bz2
uGFX-ece5bcd6ab566dc3bef092e6a0b5260ba771bc85.zip
Auto-generate pixel formats using macro's.
Prepare for (but not yet complete) supporting a different high level GDISP pixel format to the low level driver format. This will be useful in multiple display scenario's where displays have different pixel formats.
Diffstat (limited to 'drivers/gdisp/S6D1121')
-rw-r--r--drivers/gdisp/S6D1121/gdisp_lld_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gdisp/S6D1121/gdisp_lld_config.h b/drivers/gdisp/S6D1121/gdisp_lld_config.h
index 839bbf9d..79e859bc 100644
--- a/drivers/gdisp/S6D1121/gdisp_lld_config.h
+++ b/drivers/gdisp/S6D1121/gdisp_lld_config.h
@@ -27,7 +27,7 @@
#define GDISP_HARDWARE_STREAM_POS TRUE
#define GDISP_HARDWARE_CONTROL TRUE
-#define GDISP_PIXELFORMAT GDISP_PIXELFORMAT_RGB565
+#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_RGB565
#endif /* GFX_USE_GDISP */