Skip to content

Commit

Permalink
Fix RGB on S3 ofter platform upgrade (ExpressLRS#2553)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkendall64 authored Feb 8, 2024
1 parent 3f52019 commit 57df8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/LED/esp32rgb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 57df8fa

Please sign in to comment.