Browse Source

Update main.c (#8198)

yiancar 5 years ago
parent
commit
eb9c2429c6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tmk_core/protocol/vusb/main.c

+ 2 - 2
tmk_core/protocol/vusb/main.c

@@ -59,12 +59,12 @@ int main(void) {
 #endif
     keyboard_setup();
 
-    keyboard_init();
     host_set_driver(vusb_driver());
-
     debug("initForUsbConnectivity()\n");
     initForUsbConnectivity();
 
+    keyboard_init();
+
     debug("main loop\n");
     while (1) {
 #if USB_COUNT_SOF