aboutsummaryrefslogtreecommitdiff
path: root/quantum/color.c
diff options
context:
space:
mode:
authorRyan <[email protected]>2024-04-28 00:36:54 +1000
committerGitHub <[email protected]>2024-04-28 00:36:54 +1000
commit0ff53b24984e88f385638e47ea076b4d2945c0c6 (patch)
tree73c0e43df640c132507cb146447adfb7d0ed4b49 /quantum/color.c
parent8f8fffc1740be81fbfe4a07a74e9f03962c1062a (diff)
downloadqmk_firmware-0ff53b24984e88f385638e47ea076b4d2945c0c6.tar.gz
qmk_firmware-0ff53b24984e88f385638e47ea076b4d2945c0c6.zip
Rename `RGBW` define to `WS2812_RGBW` (#23585)
Diffstat (limited to 'quantum/color.c')
-rw-r--r--quantum/color.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/color.c b/quantum/color.c
index 395383f428..96d548a33c 100644
--- a/quantum/color.c
+++ b/quantum/color.c
@@ -109,7 +109,7 @@ RGB hsv_to_rgb_nocie(HSV hsv) {
return hsv_to_rgb_impl(hsv, false);
}
-#ifdef RGBW
+#ifdef WS2812_RGBW
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