diff options
author | Ryan <[email protected]> | 2024-04-28 00:36:54 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-28 00:36:54 +1000 |
commit | 0ff53b24984e88f385638e47ea076b4d2945c0c6 (patch) | |
tree | 73c0e43df640c132507cb146447adfb7d0ed4b49 /quantum/color.h | |
parent | 8f8fffc1740be81fbfe4a07a74e9f03962c1062a (diff) | |
download | qmk_firmware-0ff53b24984e88f385638e47ea076b4d2945c0c6.tar.gz qmk_firmware-0ff53b24984e88f385638e47ea076b4d2945c0c6.zip |
Rename `RGBW` define to `WS2812_RGBW` (#23585)
Diffstat (limited to 'quantum/color.h')
-rw-r--r-- | quantum/color.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/color.h b/quantum/color.h index 00a3bfb3f8..b6a9dd0641 100644 --- a/quantum/color.h +++ b/quantum/color.h @@ -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 |