aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rgbkb
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 /keyboards/rgbkb
parent8f8fffc1740be81fbfe4a07a74e9f03962c1062a (diff)
downloadqmk_firmware-0ff53b24984e88f385638e47ea076b4d2945c0c6.tar.gz
qmk_firmware-0ff53b24984e88f385638e47ea076b4d2945c0c6.zip
Rename `RGBW` define to `WS2812_RGBW` (#23585)
Diffstat (limited to 'keyboards/rgbkb')
-rw-r--r--keyboards/rgbkb/pan/pan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/rgbkb/pan/pan.c b/keyboards/rgbkb/pan/pan.c
index 191ff1ac1f..401831e0e2 100644
--- a/keyboards/rgbkb/pan/pan.c
+++ b/keyboards/rgbkb/pan/pan.c
@@ -42,7 +42,7 @@ static inline void setled(int i, uint8_t r, uint8_t g, uint8_t b) {
rgb_matrix_ws2812_array[i].g = g;
rgb_matrix_ws2812_array[i].b = b;
}
-# ifdef RGBW
+# ifdef WS2812_RGBW
convert_rgb_to_rgbw(&rgb_matrix_ws2812_array[i]);
# endif
}