summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_ez/led_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_ez/led_i2c.c')
-rw-r--r--keyboards/ergodox_ez/led_i2c.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/keyboards/ergodox_ez/led_i2c.c b/keyboards/ergodox_ez/led_i2c.c
index 3e75a8cd08..4a7a02f468 100644
--- a/keyboards/ergodox_ez/led_i2c.c
+++ b/keyboards/ergodox_ez/led_i2c.c
@@ -51,7 +51,13 @@ void rgblight_set(void) {
#endif
}
}
-
+#ifdef RGBW
+ else {
+ for (uint8_t i = 0; i < RGBLED_NUM; i++) {
+ convert_rgb_to_rgbw(&led[i]);
+ }
+ }
+#endif
uint8_t led_num = RGBLED_NUM;
i2c_init();