summaryrefslogtreecommitdiff
path: root/tmk_core/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/vusb/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tmk_core/protocol/vusb/main.c b/tmk_core/protocol/vusb/main.c
index 0e3447d926..2e8bb2fbbc 100644
--- a/tmk_core/protocol/vusb/main.c
+++ b/tmk_core/protocol/vusb/main.c
@@ -98,14 +98,13 @@ int main(void) {
clock_prescale_set(clock_div_1);
#endif
keyboard_setup();
-
- host_set_driver(vusb_driver());
setup_usb();
sei();
+ keyboard_init();
+ host_set_driver(vusb_driver());
wait_ms(50);
- keyboard_init();
#ifdef SLEEP_LED_ENABLE
sleep_led_init();
#endif