1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Fix white color undefined in led drivers

This commit is contained in:
gaelj 2016-07-14 16:28:33 +02:00
parent 99110b2b8b
commit 72ba8ebccf
3 changed files with 3 additions and 0 deletions

View file

@ -105,6 +105,7 @@ void ws2811LedStripHardwareInit(void)
DMA_ITConfig(DMA1_Channel6, DMA_IT_TC, ENABLE);
const hsvColor_t hsv_white = { 0, 255, 255};
ws2811Initialised = true;
setStripColor(&hsv_white);
ws2811UpdateStrip();