[Keymap] Turn OLED off on suspend in soundmonster keymap (#10419)

This commit is contained in:
Lukas Reineke 2021-05-11 07:40:18 +09:00 committed by GitHub
parent 6bb9113e27
commit 069cfb61b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -298,6 +298,10 @@ void render_status_secondary(void) {
render_mod_status_ctrl_shift(get_mods()|get_oneshot_mods());
}
void suspend_power_down_user() {
oled_off();
}
void oled_task_user(void) {
if (timer_elapsed32(oled_timer) > 30000) {
oled_off();