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

Update led strip code to use HSV instead of RGB.

This commit is contained in:
Dominic Clifton 2014-09-18 20:53:28 +01:00
parent 74156fe18f
commit 0b4f5804bc
10 changed files with 269 additions and 139 deletions

View file

@ -20,6 +20,7 @@
#include "platform.h"
#include "common/color.h"
#include "drivers/light_ws2811strip.h"
void ws2811LedStripHardwareInit(void)
@ -100,7 +101,7 @@ void ws2811LedStripHardwareInit(void)
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
NVIC_Init(&NVIC_InitStructure);
setStripColor(&white);
setStripColor(&hsv_white);
ws2811UpdateStrip();
}