Clean up RGB LED type (#21859)
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user