fix(radio): prevent dedicated RGB LEDs flickering (#6045)
This commit is contained in:
@@ -47,6 +47,8 @@ void rgbSetLedColor(uint8_t led, uint8_t r, uint8_t g, uint8_t b)
|
||||
{
|
||||
#if defined(SIXPOS_SWITCH_INDEX)
|
||||
ws2812_set_color(led + 6, r, g, b);
|
||||
#elif defined(RGB_LED_OFFSET)
|
||||
ws2812_set_color(led + RGB_LED_OFFSET, r, g, b);
|
||||
#else
|
||||
ws2812_set_color(led, r, g, b);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user