fix(radio): prevent dedicated RGB LEDs flickering (#6045)

This commit is contained in:
3djc
2025-04-04 12:44:53 +10:00
committed by GitHub
parent 51b38dd4c6
commit 07ea98db4a
6 changed files with 21 additions and 14 deletions
@@ -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