1
0
Fork 0

Separated backlight and LCD disable/enable

Also moved them to correct places
This commit is contained in:
Fred Sundvik 2017-04-05 09:21:18 +03:00
parent 5ba228b684
commit 1e7585e767
8 changed files with 53 additions and 36 deletions

View file

@ -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;
}