aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_ez
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2020-01-01 22:42:04 -0800
committerGitHub <noreply@github.com>2020-01-01 22:42:04 -0800
commitb83e3ae556239b4aa6f2c4db20535c536692eb3b (patch)
tree65cc1378c8ff9d41b6c480f3e8abb292e103b473 /keyboards/ergodox_ez
parent77f66cc5e1e2a4624305526d6ff9ffee60e17588 (diff)
downloadfirmware-b83e3ae556239b4aa6f2c4db20535c536692eb3b.tar.gz
firmware-b83e3ae556239b4aa6f2c4db20535c536692eb3b.tar.bz2
firmware-b83e3ae556239b4aa6f2c4db20535c536692eb3b.zip
[Keyboard] Ergodox EZ - Re-init ISSI driver on reconnect (#7731)
Diffstat (limited to 'keyboards/ergodox_ez')
-rw-r--r--keyboards/ergodox_ez/matrix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/ergodox_ez/matrix.c b/keyboards/ergodox_ez/matrix.c
index 4f11a0ad5..c70772938 100644
--- a/keyboards/ergodox_ez/matrix.c
+++ b/keyboards/ergodox_ez/matrix.c
@@ -122,6 +122,9 @@ uint8_t matrix_scan(void) {
} else {
print("left side attached\n");
ergodox_blink_all_leds();
+#ifdef RGB_MATRIX_ENABLE
+ rgb_matrix_init(); // re-init driver on reconnect
+#endif
}
}
}