Browse Source

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

Lukas Reineke 5 years ago
parent
commit
069cfb61b8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      keyboards/crkbd/keymaps/soundmonster/keymap.c

+ 4 - 0
keyboards/crkbd/keymaps/soundmonster/keymap.c

@@ -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();