Rename RGBW
define to WS2812_RGBW
(#23585)
This commit is contained in:
parent
8f8fffc174
commit
0ff53b2498
24 changed files with 68 additions and 44 deletions
|
@ -96,7 +96,7 @@ typedef struct PACKED rgb_led_t {
|
|||
uint8_t g;
|
||||
uint8_t r;
|
||||
#endif
|
||||
#ifdef RGBW
|
||||
#ifdef WS2812_RGBW
|
||||
uint8_t w;
|
||||
#endif
|
||||
} rgb_led_t;
|
||||
|
@ -111,6 +111,6 @@ typedef struct PACKED HSV {
|
|||
|
||||
RGB hsv_to_rgb(HSV hsv);
|
||||
RGB hsv_to_rgb_nocie(HSV hsv);
|
||||
#ifdef RGBW
|
||||
#ifdef WS2812_RGBW
|
||||
void convert_rgb_to_rgbw(rgb_led_t *led);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue