raven
raven copied to clipboard
Change declared order in which red and green on ws2812 color's definition
I found that in FAILSAFE mode, the LED did not flash red. Looking at the code, I found that the red and green colors in hal_ws2812_color_s were incorrect for the parameters passed in the HAL_WS2812_RGB definition.I don't know if this was a BUG or was intentional, but after I changed the order, the LED was flashing the correct red in FAILSAFE mode.