diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-04-05 09:21:18 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-04-09 18:34:59 +0300 |
commit | 1e7585e76771e1a2d8ca733fc09c19f9fa0e903c (patch) | |
tree | e4e5ebff65cd1f60fe4ecdd71501c05bff9b6b24 /quantum/visualizer/lcd_keyframes.c | |
parent | 5ba228b684a32c1099efc6207842a56ff102961a (diff) | |
download | qmk_firmware-1e7585e76771e1a2d8ca733fc09c19f9fa0e903c.tar.gz |
Separated backlight and LCD disable/enable
Also moved them to correct places
Diffstat (limited to 'quantum/visualizer/lcd_keyframes.c')
-rw-r--r-- | quantum/visualizer/lcd_keyframes.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/quantum/visualizer/lcd_keyframes.c b/quantum/visualizer/lcd_keyframes.c index 00d9734e6..74f6e3b47 100644 --- a/quantum/visualizer/lcd_keyframes.c +++ b/quantum/visualizer/lcd_keyframes.c @@ -158,3 +158,17 @@ bool lcd_keyframe_display_layer_and_led_states(keyframe_animation_t* animation, gdispFlush(); return false; } + +bool lcd_keyframe_disable(keyframe_animation_t* animation, visualizer_state_t* state) { + (void)animation; + (void)state; + gdispSetPowerMode(powerOff); + return false; +} + +bool lcd_keyframe_enable(keyframe_animation_t* animation, visualizer_state_t* state) { + (void)animation; + (void)state; + gdispSetPowerMode(powerOn); + return false; +} |