aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_ez/shine
diff options
context:
space:
mode:
authorRyan2024-04-27 16:36:54 +0200
committerGitHub2024-04-27 16:36:54 +0200
commit0ff53b24984e88f385638e47ea076b4d2945c0c6 (patch)
tree73c0e43df640c132507cb146447adfb7d0ed4b49 /keyboards/ergodox_ez/shine
parent8f8fffc1740be81fbfe4a07a74e9f03962c1062a (diff)
Rename `RGBW` define to `WS2812_RGBW` (#23585)
Diffstat (limited to 'keyboards/ergodox_ez/shine')
-rw-r--r--keyboards/ergodox_ez/shine/rgblight_custom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/ergodox_ez/shine/rgblight_custom.c b/keyboards/ergodox_ez/shine/rgblight_custom.c
index feac50cba0..29060e76fc 100644
--- a/keyboards/ergodox_ez/shine/rgblight_custom.c
+++ b/keyboards/ergodox_ez/shine/rgblight_custom.c
@@ -25,7 +25,7 @@ void setleds_custom(rgb_led_t *led, uint16_t led_num) {
uint16_t length = 0;
int i = 0;
int j = 0;
-# ifdef RGBW
+# ifdef WS2812_RGBW
int bytes_per_led = 4;
# else
int bytes_per_led = 3;
@@ -52,7 +52,7 @@ void setleds_custom(rgb_led_t *led, uint16_t led_num) {
data[j++] = data_byte[0];
data[j++] = data_byte[1];
data[j++] = data_byte[2];
-#ifdef RGBW
+#ifdef WS2812_RGBW
data[j++] = data_byte[3];
#endif
}