Skip to content

Commit

Permalink
V-USB: Fix initial dropped keypress (qmk#11263)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Dec 22, 2020
1 parent 4571304 commit 5856ea3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tmk_core/protocol/vusb/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5856ea3

Please sign in to comment.