mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-23 00:47:02 +06:00
[Keymap] Turn OLED off on suspend in soundmonster keymap (#10419)
This commit is contained in:
parent
6bb9113e27
commit
069cfb61b8
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user