diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-06-03 14:34:50 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-06-03 14:34:50 +0300 |
commit | a916f4e8b897b6b8925d7113d84f9eac7e7b67be (patch) | |
tree | 19131f31ecd9ccb8fb5672caf1b5ef652f4f88f1 /quantum/visualizer/visualizer.c | |
parent | aaa67f69305c5c78e15a1090ba7058adea59ff36 (diff) | |
download | qmk_firmware-a916f4e8b897b6b8925d7113d84f9eac7e7b67be.tar.gz qmk_firmware-a916f4e8b897b6b8925d7113d84f9eac7e7b67be.zip |
Let BACKLIGHT_ENABLE control the Infinity LEDs
Diffstat (limited to 'quantum/visualizer/visualizer.c')
-rw-r--r-- | quantum/visualizer/visualizer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/visualizer/visualizer.c b/quantum/visualizer/visualizer.c index 6f134097f..cd2dff6a6 100644 --- a/quantum/visualizer/visualizer.c +++ b/quantum/visualizer/visualizer.c | |||
@@ -309,7 +309,7 @@ static DECLARE_THREAD_FUNCTION(visualizerThread, arg) { | |||
309 | update_keyframe_animation(animations[i], &state, delta, &sleep_time); | 309 | update_keyframe_animation(animations[i], &state, delta, &sleep_time); |
310 | } | 310 | } |
311 | } | 311 | } |
312 | #ifdef LED_ENABLE | 312 | #ifdef BACKLIGHT_ENABLE |
313 | gdispGFlush(LED_DISPLAY); | 313 | gdispGFlush(LED_DISPLAY); |
314 | #endif | 314 | #endif |
315 | 315 | ||
@@ -372,7 +372,7 @@ void visualizer_init(void) { | |||
372 | #ifdef LCD_ENABLE | 372 | #ifdef LCD_ENABLE |
373 | LCD_DISPLAY = get_lcd_display(); | 373 | LCD_DISPLAY = get_lcd_display(); |
374 | #endif | 374 | #endif |
375 | #ifdef LED_ENABLE | 375 | #ifdef BACKLIGHT_ENABLE |
376 | LED_DISPLAY = get_led_display(); | 376 | LED_DISPLAY = get_led_display(); |
377 | #endif | 377 | #endif |
378 | 378 | ||