diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-02-07 00:07:49 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-02-07 00:07:49 +1000 |
commit | f8c06e70a78914ac2e42b565050f5443bcecbb6f (patch) | |
tree | 754afb55a58b4dc8ca0e04dce3a00a72fd01ab4d /drivers/gdisp/SSD1306 | |
parent | 795b8a5e7dd88d920fd778cd03ad9c7b7825247e (diff) | |
download | uGFX-f8c06e70a78914ac2e42b565050f5443bcecbb6f.tar.gz uGFX-f8c06e70a78914ac2e42b565050f5443bcecbb6f.tar.bz2 uGFX-f8c06e70a78914ac2e42b565050f5443bcecbb6f.zip |
Fixes to all monochrome drivers
TLS8204 driver is now operational
Diffstat (limited to 'drivers/gdisp/SSD1306')
-rw-r--r-- | drivers/gdisp/SSD1306/gdisp_lld_SSD1306.c | 2 | ||||
-rw-r--r-- | drivers/gdisp/SSD1306/gdisp_lld_config.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gdisp/SSD1306/gdisp_lld_SSD1306.c b/drivers/gdisp/SSD1306/gdisp_lld_SSD1306.c index a8980ce7..e163f8ca 100644 --- a/drivers/gdisp/SSD1306/gdisp_lld_SSD1306.c +++ b/drivers/gdisp/SSD1306/gdisp_lld_SSD1306.c @@ -154,6 +154,8 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) { ram += SSD1306_PAGE_WIDTH; } release_bus(g); + + g->flags &= ~GDISP_FLG_NEEDFLUSH; } #endif diff --git a/drivers/gdisp/SSD1306/gdisp_lld_config.h b/drivers/gdisp/SSD1306/gdisp_lld_config.h index dfb91f97..2d8b6602 100644 --- a/drivers/gdisp/SSD1306/gdisp_lld_config.h +++ b/drivers/gdisp/SSD1306/gdisp_lld_config.h @@ -17,8 +17,8 @@ #define GDISP_HARDWARE_FLUSH TRUE // This controller requires flushing
#define GDISP_HARDWARE_DRAWPIXEL TRUE
#define GDISP_HARDWARE_PIXELREAD TRUE
-#define GDISP_HARDWARE_CONTROL TRUE
-#define GDISP_HARDWARE_FILLS TRUE
+#define GDISP_HARDWARE_CONTROL TRUE
+#define GDISP_HARDWARE_FILLS TRUE
#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_MONO
|