Clean up RGB LED type (#21859)
This commit is contained in:
parent
1e3095f9cc
commit
41bd4e35a0
63 changed files with 222 additions and 243 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "ws2812.h"
|
||||
#include "rgbsps.h"
|
||||
|
||||
cRGB led[RGBSPS_NUM];
|
||||
rgb_led_t led[RGBSPS_NUM];
|
||||
|
||||
void rgbsps_set(uint8_t index, uint8_t r, uint8_t g, uint8_t b) {
|
||||
led[index].r = r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue