diff options
Diffstat (limited to 'keyboards/ergodox_ez/led_i2c.c')
| -rw-r--r-- | keyboards/ergodox_ez/led_i2c.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/keyboards/ergodox_ez/led_i2c.c b/keyboards/ergodox_ez/led_i2c.c index 3e75a8cd0..4a7a02f46 100644 --- a/keyboards/ergodox_ez/led_i2c.c +++ b/keyboards/ergodox_ez/led_i2c.c | |||
| @@ -51,7 +51,13 @@ void rgblight_set(void) { | |||
| 51 | #endif | 51 | #endif |
| 52 | } | 52 | } |
| 53 | } | 53 | } |
| 54 | 54 | #ifdef RGBW | |
| 55 | else { | ||
| 56 | for (uint8_t i = 0; i < RGBLED_NUM; i++) { | ||
| 57 | convert_rgb_to_rgbw(&led[i]); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | #endif | ||
| 55 | 61 | ||
| 56 | uint8_t led_num = RGBLED_NUM; | 62 | uint8_t led_num = RGBLED_NUM; |
| 57 | i2c_init(); | 63 | i2c_init(); |
