Эх сурвалжийг харах

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

Drashna Jaelre 5 жил өмнө
parent
commit
b83e3ae556

+ 3 - 0
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
       }
     }
   }