From 57df8faadb53812c2ac9469e3352b389a5f7480a Mon Sep 17 00:00:00 2001 From: Paul Kendall Date: Fri, 9 Feb 2024 10:34:23 +1300 Subject: [PATCH] Fix RGB on S3 ofter platform upgrade (#2553) --- src/lib/LED/esp32rgb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/LED/esp32rgb.cpp b/src/lib/LED/esp32rgb.cpp index f9f4958776..f90fcb5073 100644 --- a/src/lib/LED/esp32rgb.cpp +++ b/src/lib/LED/esp32rgb.cpp @@ -89,7 +89,7 @@ static const int bitorder[] = {0x40, 0x80, 0x10, 0x20, 0x04, 0x08, 0x01, 0x02}; #elif defined(CONFIG_IDF_TARGET_ESP32S3) static const int bitorder[] = {0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01}; #elif defined(CONFIG_IDF_TARGET_ESP32) -static const int bitorder[] = {0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01}; +static const int bitorder[] = {0x40, 0x80, 0x10, 0x20, 0x04, 0x08, 0x01, 0x02}; #endif void ESP32S3LedDriverGRB::SetPixelColor(uint16_t indexPixel, RgbColor color)