[Keyboard] Ergodox EZ - Re-init ISSI driver on reconnect (#7731)

master
Drashna Jaelre 2020-01-01 22:42:04 -08:00 committed by GitHub
parent 77f66cc5e1
commit b83e3ae556
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,9 @@ uint8_t matrix_scan(void) {
} else { } else {
print("left side attached\n"); print("left side attached\n");
ergodox_blink_all_leds(); ergodox_blink_all_leds();
#ifdef RGB_MATRIX_ENABLE
rgb_matrix_init(); // re-init driver on reconnect
#endif
} }
} }
} }