feat: add color formats to WS2812 driver (#5428)

This commit is contained in:
Raphael Coeffic
2024-08-14 10:03:06 +10:00
committed by GitHub
parent 3bdec2f347
commit 4c30b09c08
6 changed files with 31 additions and 11 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ void boardInit()
touchPanelInit();
usbInit();
ws2812_init(&_led_timer, LED_STRIP_LENGTH);
ws2812_init(&_led_timer, LED_STRIP_LENGTH, WS2812_GRB);
ledStripOff();
uint32_t press_start = 0;