forked from mirrors/qmk_userspace
Switch Ergodox Infinity over to split_common (#13481)
This commit is contained in:
parent
85621311db
commit
1414e9736d
7 changed files with 36 additions and 323 deletions
|
@ -459,7 +459,7 @@ void led_matrix_init(void) {
|
|||
|
||||
void led_matrix_set_suspend_state(bool state) {
|
||||
#ifdef LED_DISABLE_WHEN_USB_SUSPENDED
|
||||
if (state) {
|
||||
if (state && is_keyboard_master()) {
|
||||
led_matrix_set_value_all(0); // turn off all LEDs when suspending
|
||||
}
|
||||
suspend_state = state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue