瀏覽代碼

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

Drashna Jaelre 5 年之前
父節點
當前提交
b83e3ae556
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      keyboards/ergodox_ez/matrix.c

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