Skip to content

Commit

Permalink
[Keymap] Turn OLED off on suspend in soundmonster keymap (#10419)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-reineke authored May 10, 2021
1 parent 6bb9113 commit 069cfb6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions keyboards/crkbd/keymaps/soundmonster/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 069cfb6

Please sign in to comment.