summaryrefslogtreecommitdiff
path: root/quantum/rgblight.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-01-19 16:30:34 +0000
committerGitHub <noreply@github.com>2020-01-19 16:30:34 +0000
commit667045b4928badaedb38f535d885a46ff8a454fb (patch)
tree5ae5e7002381a7359eabe627b936f0c253e2822e /quantum/rgblight.c
parentf5209aa4e941c7f3a942ef4a7e256ab432ec98ce (diff)
Run clang-format manually to fix recently changed files (#7934)
* Run clang-format manually to fix recently changed files * Run clang-format manually to fix recently changed files - revert template files * Run clang-format manually to fix recently changed files - format off for ascii_to_keycode_lut
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 141dc2e7bc..26887f057e 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