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

This commit is contained in:
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

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