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

pull/6186/head
Drashna Jaelre 5 years ago committed by GitHub
parent 1cdaedbedf
commit 80a40807e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save