aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/ED060SC4
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/ED060SC4')
-rw-r--r--drivers/gdisp/ED060SC4/board_ED060SC4_template.h2
-rw-r--r--drivers/gdisp/ED060SC4/gdisp_lld_ED060SC4.c2
-rw-r--r--drivers/gdisp/ED060SC4/gdisp_lld_config.h8
-rw-r--r--drivers/gdisp/ED060SC4/readme.txt2
4 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gdisp/ED060SC4/board_ED060SC4_template.h b/drivers/gdisp/ED060SC4/board_ED060SC4_template.h
index 20e2088d..ad261b44 100644
--- a/drivers/gdisp/ED060SC4/board_ED060SC4_template.h
+++ b/drivers/gdisp/ED060SC4/board_ED060SC4_template.h
@@ -37,7 +37,7 @@
*
* @note Do a "blinking" clear, i.e. clear to opposite polarity first.
* This reduces the image persistence.<br>
- * #define EINK_BLINKCLEAR TRUE
+ * #define EINK_BLINKCLEAR GFXON
*
* @note Number of passes to use when clearing the display<br>
* #define EINK_CLEARCOUNT 10
diff --git a/drivers/gdisp/ED060SC4/gdisp_lld_ED060SC4.c b/drivers/gdisp/ED060SC4/gdisp_lld_ED060SC4.c
index cd54155c..8291cdcc 100644
--- a/drivers/gdisp/ED060SC4/gdisp_lld_ED060SC4.c
+++ b/drivers/gdisp/ED060SC4/gdisp_lld_ED060SC4.c
@@ -59,7 +59,7 @@
/* Do a "blinking" clear, i.e. clear to opposite polarity first.
* This reduces the image persistence. */
#ifndef EINK_BLINKCLEAR
- #define EINK_BLINKCLEAR TRUE
+ #define EINK_BLINKCLEAR GFXON
#endif
/* Number of passes to use when clearing the display */
diff --git a/drivers/gdisp/ED060SC4/gdisp_lld_config.h b/drivers/gdisp/ED060SC4/gdisp_lld_config.h
index 47e84779..8b485622 100644
--- a/drivers/gdisp/ED060SC4/gdisp_lld_config.h
+++ b/drivers/gdisp/ED060SC4/gdisp_lld_config.h
@@ -12,10 +12,10 @@
#if GFX_USE_GDISP
-#define GDISP_HARDWARE_FLUSH TRUE // This controller requires flushing
-#define GDISP_HARDWARE_DRAWPIXEL TRUE
-#define GDISP_HARDWARE_CLEARS TRUE
-#define GDISP_HARDWARE_CONTROL TRUE
+#define GDISP_HARDWARE_FLUSH GFXON // This controller requires flushing
+#define GDISP_HARDWARE_DRAWPIXEL GFXON
+#define GDISP_HARDWARE_CLEARS GFXON
+#define GDISP_HARDWARE_CONTROL GFXON
#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_MONO
diff --git a/drivers/gdisp/ED060SC4/readme.txt b/drivers/gdisp/ED060SC4/readme.txt
index 852a0010..2cdfbdda 100644
--- a/drivers/gdisp/ED060SC4/readme.txt
+++ b/drivers/gdisp/ED060SC4/readme.txt
@@ -54,7 +54,7 @@ Instead, it uses reverse engineered waveforms that are mostly functional.
The following #defines control the waveforms:
-#define EINK_BLINKCLEAR TRUE // Clear to opposite color first
+#define EINK_BLINKCLEAR GFXON // Clear to opposite color first
#define EINK_CLEARCOUNT 10 // Number of sweeps to clear the display
#define EINK_WRITECOUNT 4 // Number of sweeps when writing to display