summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4f11a0ad52..c707729380 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
}
}
}