Clean up RGB LED type (#21859)
This commit is contained in:
parent
1e3095f9cc
commit
41bd4e35a0
63 changed files with 222 additions and 243 deletions
|
@ -110,7 +110,7 @@ RGB hsv_to_rgb_nocie(HSV hsv) {
|
|||
}
|
||||
|
||||
#ifdef RGBW
|
||||
void convert_rgb_to_rgbw(LED_TYPE *led) {
|
||||
void convert_rgb_to_rgbw(rgb_led_t *led) {
|
||||
// Determine lowest value in all three colors, put that into
|
||||
// the white channel and then shift all colors by that amount
|
||||
led->w = MIN(led->r, MIN(led->g, led->b));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue