[Keymap] Turn OLED off on suspend in soundmonster keymap (#10419)
This commit is contained in:
parent
6bb9113e27
commit
069cfb61b8
1 changed files with 4 additions and 0 deletions
|
@ -298,6 +298,10 @@ void render_status_secondary(void) {
|
||||||
render_mod_status_ctrl_shift(get_mods()|get_oneshot_mods());
|
render_mod_status_ctrl_shift(get_mods()|get_oneshot_mods());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void suspend_power_down_user() {
|
||||||
|
oled_off();
|
||||||
|
}
|
||||||
|
|
||||||
void oled_task_user(void) {
|
void oled_task_user(void) {
|
||||||
if (timer_elapsed32(oled_timer) > 30000) {
|
if (timer_elapsed32(oled_timer) > 30000) {
|
||||||
oled_off();
|
oled_off();
|
||||||
|
|
Loading…
Reference in a new issue