summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2020-02-22 15:10:41 +0000
committerGitHub <noreply@github.com>2020-02-22 10:10:41 -0500
commiteb9c2429c69cf034fb3938f0533d15457a2d7820 (patch)
treea2799d513376501f3d7c31bd5e1c4ceed18754b0 /tmk_core
parent1327208449826c76be02ba5475ac26177dd24c45 (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