mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Update examples/companion_radio/ui-new/UITask.cpp
Co-authored-by: Wessel <wessel@weebl.me>
This commit is contained in:
parent
a8e12f5c5f
commit
4d80a4e721
1 changed files with 1 additions and 1 deletions
|
|
@ -727,7 +727,7 @@ void UITask::neopixelMsgHandler() {
|
||||||
uint8_t g = (NEOPIXEL_MSG_GREEN * neopixel_brightness) / NEOPIXEL_MAX_BRIGHTNESS;
|
uint8_t g = (NEOPIXEL_MSG_GREEN * neopixel_brightness) / NEOPIXEL_MAX_BRIGHTNESS;
|
||||||
uint8_t b = (NEOPIXEL_MSG_BLUE * 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.setPixelColor(i, pixels.Color(r, g, b));
|
||||||
}
|
}
|
||||||
pixels.show();
|
pixels.show();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue