From 61dd1b856ceece1e2083e6828a10c1d4376e1131 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Sat, 1 Oct 2022 00:17:54 +0200 Subject: [PATCH] Fixed sdkconfig rgb order not applied correctly --- TFT_config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TFT_config.h b/TFT_config.h index 6a042ab..c7f6e6a 100644 --- a/TFT_config.h +++ b/TFT_config.h @@ -78,9 +78,9 @@ #define TFT_RGB_ORDER TFT_RGB #endif -//#ifdef CONFIG_TFT_RGB_ORDER -// #define TFT_RGB_ORDER TFT_BGR -//#endif +#ifdef CONFIG_TFT_BGR_ORDER + #define TFT_RGB_ORDER TFT_BGR +#endif #ifdef CONFIG_TFT_M5STACK #define M5STACK