From c78250b8d392e72f11905821ec6a991a01ae36a7 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Wed, 10 Aug 2022 14:43:57 +0200 Subject: [PATCH] fix compile error "OLED_WHITE" --- include/display.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/display.h b/include/display.h index b30ec372..b3656121 100644 --- a/include/display.h +++ b/include/display.h @@ -40,10 +40,10 @@ #endif #ifndef MY_DISPLAY_FGCOLOR -#define MY_DISPLAY_FGCOLOR OLED_WHITE +#define MY_DISPLAY_FGCOLOR 1 //OLED_WHITE #endif #ifndef MY_DISPLAY_BGCOLOR -#define MY_DISPLAY_BGCOLOR OLED_BLACK +#define MY_DISPLAY_BGCOLOR 0 //OLED_BLACK #endif // settings for TFT display library @@ -57,10 +57,10 @@ #define MY_DISPLAY_FIRSTLINE 30 #ifndef MY_DISPLAY_FGCOLOR -#define MY_DISPLAY_FGCOLOR TFT_WHITE +#define MY_DISPLAY_FGCOLOR 0xFFFF //TFT_WHITE #endif #ifndef MY_DISPLAY_BGCOLOR -#define MY_DISPLAY_BGCOLOR TFT_BLACK +#define MY_DISPLAY_BGCOLOR 0x0000 //TFT_BLACK #endif #ifndef TOUCH_CS