aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/SSD1306/gdisp_lld_config.h
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/SSD1306/gdisp_lld_config.h
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/SSD1306/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/SSD1306/gdisp_lld_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gdisp/SSD1306/gdisp_lld_config.h b/drivers/gdisp/SSD1306/gdisp_lld_config.h
index 8580f933..627de17b 100644
--- a/drivers/gdisp/SSD1306/gdisp_lld_config.h
+++ b/drivers/gdisp/SSD1306/gdisp_lld_config.h
@@ -19,7 +19,7 @@
#define GDISP_HARDWARE_PIXELREAD TRUE
#define GDISP_HARDWARE_CONTROL TRUE
-#define GDISP_PIXELFORMAT GDISP_PIXELFORMAT_MONO
+#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_MONO
// This controller supports a special gdispControl() to inverse the display.
// Pass a parameter of 1 for inverse and 0 for normal.