Update examples/companion_radio/ui-new/UITask.cpp

Co-authored-by: Wessel <wessel@weebl.me>
This commit is contained in:
Michael Gjelsø 2026-03-05 14:36:51 +01:00 committed by GitHub
parent a8e12f5c5f
commit 4d80a4e721
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -727,7 +727,7 @@ void UITask::neopixelMsgHandler() {
uint8_t g = (NEOPIXEL_MSG_GREEN * neopixel_brightness) / NEOPIXEL_MAX_BRIGHTNESS;
uint8_t b = (NEOPIXEL_MSG_BLUE * neopixel_brightness) / NEOPIXEL_MAX_BRIGHTNESS;
for (int i = 2; i <= 6; i++) {
for (int i = 2; i < NEOPIXEL_NUM; i++) {
pixels.setPixelColor(i, pixels.Color(r, g, b));
}
pixels.show();