aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/ST7735
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/ST7735')
-rw-r--r--drivers/gdisp/ST7735/gdisp_lld_ST7735.c6
-rw-r--r--drivers/gdisp/ST7735/gdisp_lld_config.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gdisp/ST7735/gdisp_lld_ST7735.c b/drivers/gdisp/ST7735/gdisp_lld_ST7735.c
index 5d97df48..ea1966a5 100644
--- a/drivers/gdisp/ST7735/gdisp_lld_ST7735.c
+++ b/drivers/gdisp/ST7735/gdisp_lld_ST7735.c
@@ -43,19 +43,19 @@
// Define one of supported type, if not defined yet
#if !defined(ST7735_TYPE_R) && !defined(ST7735_TYPE_B)
// It seems all modern boards is 7735R
- #define ST7735_TYPE_R TRUE
+ #define ST7735_TYPE_R GFXON
#endif
// Define one of supported color packing, if not defined yet
#if !defined(ST7735_COLOR_RGB) && !defined(ST7735_COLOR_BRG)
// It seems all modern boards is RGB
- #define ST7735_COLOR_RGB TRUE
+ #define ST7735_COLOR_RGB GFXON
#endif
// Strange boars with shifted coords
#if !defined (ST7735_SHIFTED_COORDS)
- #define ST7735_SHIFTED_COORDS FALSE
+ #define ST7735_SHIFTED_COORDS GFXOFF
#endif
diff --git a/drivers/gdisp/ST7735/gdisp_lld_config.h b/drivers/gdisp/ST7735/gdisp_lld_config.h
index 5c76924e..b910e3d1 100644
--- a/drivers/gdisp/ST7735/gdisp_lld_config.h
+++ b/drivers/gdisp/ST7735/gdisp_lld_config.h
@@ -12,9 +12,9 @@
/* Driver hardware support. */
/*===========================================================================*/
-#define GDISP_HARDWARE_STREAM_WRITE TRUE
-#define GDISP_HARDWARE_CONTROL TRUE
-#define GDISP_HARDWARE_FILLS TRUE
+#define GDISP_HARDWARE_STREAM_WRITE GFXON
+#define GDISP_HARDWARE_CONTROL GFXON
+#define GDISP_HARDWARE_FILLS GFXON
#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_RGB565