aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/rgblight.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/rgblight.c')
-rw-r--r--quantum/rgblight.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c
index 141dc2e7b..26887f057 100644
--- a/quantum/rgblight.c
+++ b/quantum/rgblight.c
@@ -622,12 +622,12 @@ void rgblight_set(void) {
start_led = led + clipping_start_pos;
# endif
-#ifdef RGBW
+# ifdef RGBW
for (uint8_t i = 0; i < num_leds; i++) {
convert_rgb_to_rgbw(&start_led[i]);
}
-#endif
- ws2812_setleds(start_led, num_leds);
+# endif
+ ws2812_setleds(start_led, num_leds);
}
#endif