aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/PCF8812/gdisp_lld_config.h
diff options
context:
space:
mode:
authorroot <root@ps-pc.(none)>2014-07-06 13:57:28 +0300
committerroot <root@ps-pc.(none)>2014-07-06 13:57:28 +0300
commit71892bf7616cfd3289e728b9034f286681dfccab (patch)
tree43602ffe39f7fbaa66a1c15ff633f7a1f07e557e /drivers/gdisp/PCF8812/gdisp_lld_config.h
parentd8d47f804e245b48afbc0058aa3731c58934dfda (diff)
downloaduGFX-71892bf7616cfd3289e728b9034f286681dfccab.tar.gz
uGFX-71892bf7616cfd3289e728b9034f286681dfccab.tar.bz2
uGFX-71892bf7616cfd3289e728b9034f286681dfccab.zip
fixed height bug and add actual display size 96*65 pixels
Diffstat (limited to 'drivers/gdisp/PCF8812/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/PCF8812/gdisp_lld_config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gdisp/PCF8812/gdisp_lld_config.h b/drivers/gdisp/PCF8812/gdisp_lld_config.h
index 598f71af..6ad8a571 100644
--- a/drivers/gdisp/PCF8812/gdisp_lld_config.h
+++ b/drivers/gdisp/PCF8812/gdisp_lld_config.h
@@ -16,8 +16,12 @@
#define GDISP_HARDWARE_FLUSH TRUE // This controller requires flushing
#define GDISP_HARDWARE_DRAWPIXEL TRUE
+#define GDISP_HARDWARE_CONTROL TRUE
-#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_MONO
+// Set this to your frame buffer pixel format.
+#ifndef GDISP_LLD_PIXELFORMAT
+ #define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_MONO
+#endif
#endif /* GFX_USE_GDISP */