diff options
author | Fred Sundvik <[email protected]> | 2017-04-05 09:21:18 +0300 |
---|---|---|
committer | Fred Sundvik <[email protected]> | 2017-04-09 18:34:59 +0300 |
commit | 1e7585e76771e1a2d8ca733fc09c19f9fa0e903c (patch) | |
tree | e4e5ebff65cd1f60fe4ecdd71501c05bff9b6b24 /quantum/visualizer/visualizer.c | |
parent | 5ba228b684a32c1099efc6207842a56ff102961a (diff) | |
download | qmk_firmware-1e7585e76771e1a2d8ca733fc09c19f9fa0e903c.tar.gz qmk_firmware-1e7585e76771e1a2d8ca733fc09c19f9fa0e903c.zip |
Separated backlight and LCD disable/enable
Also moved them to correct places
Diffstat (limited to 'quantum/visualizer/visualizer.c')
-rw-r--r-- | quantum/visualizer/visualizer.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/quantum/visualizer/visualizer.c b/quantum/visualizer/visualizer.c index 6ebd806e40..98cd7ba554 100644 --- a/quantum/visualizer/visualizer.c +++ b/quantum/visualizer/visualizer.c @@ -228,27 +228,6 @@ bool keyframe_no_operation(keyframe_animation_t* animation, visualizer_state_t* return false; } -bool keyframe_disable_lcd_and_backlight(keyframe_animation_t* animation, visualizer_state_t* state) { - (void)animation; - (void)state; -#ifdef LCD_ENABLE - gdispSetPowerMode(powerOff); -#endif -#ifdef LCD_BACKLIGHT_ENABLE - lcd_backlight_hal_color(0, 0, 0); -#endif - return false; -} - -bool keyframe_enable_lcd_and_backlight(keyframe_animation_t* animation, visualizer_state_t* state) { - (void)animation; - (void)state; -#ifdef LCD_ENABLE - gdispSetPowerMode(powerOn); -#endif - return false; -} - bool enable_visualization(keyframe_animation_t* animation, visualizer_state_t* state) { (void)animation; (void)state; |