summaryrefslogtreecommitdiff
path: root/tmk_core/protocol
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-12-22 20:33:41 +0000
committerQMK Bot <hello@qmk.fm>2020-12-22 20:33:41 +0000
commit1c04608b0a061b30a4c22d054b5a153b5d93793a (patch)
treec127fdcdf89a306a407f8e8f865c5949b59a7c79 /tmk_core/protocol
parent47db2d3062aae7f2663b1f0078bd599adfadea0b (diff)
parent78b2f120e50e3db7c6f2b114907dbe50d82e6090 (diff)
Merge remote-tracking branch 'origin/master' into develop
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