[Keyboard] Add idle/wakeup function calls to Ergodox EZ (#6173)

master
Drashna Jaelre 2019-06-24 09:22:05 -07:00 committed by GitHub
parent 1cdaedbedf
commit 80a40807e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -304,4 +304,14 @@ led_config_t g_led_config = { {
4, 4, 1, 1, 1, 1
} };
void suspend_power_down_kb(void) {
rgb_matrix_set_suspend_state(true);
suspend_power_down_user();
}
void suspend_wakeup_init_kb(void) {
rgb_matrix_set_suspend_state(false);
suspend_wakeup_init_user();
}
#endif