summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2020-02-22 15:10:41 +0000
committerDrashna Jael're <drashna@live.com>2020-03-26 00:42:13 -0700
commit12d532d778e37d29b4dca8726dfffcaa17f311cb (patch)
tree815888843860d31f00e9770cd9d7618616b73e35 /tmk_core
parent177f5613d8370e612d2f9f3645ea8d1ecf1aecf9 (diff)
Update main.c (#8198)
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/protocol/vusb/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/protocol/vusb/main.c b/tmk_core/protocol/vusb/main.c
index 06dc8ae67f..1e9d65be0b 100644
--- a/tmk_core/protocol/vusb/main.c
+++ b/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