mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-11 06:29:15 +00:00
V-USB: Fix initial dropped keypress (#11263)
This commit is contained in:
parent
ce7d3855f4
commit
78b2f120e5
1 changed files with 2 additions and 3 deletions
|
@ -98,14 +98,13 @@ int main(void) {
|
||||||
clock_prescale_set(clock_div_1);
|
clock_prescale_set(clock_div_1);
|
||||||
#endif
|
#endif
|
||||||
keyboard_setup();
|
keyboard_setup();
|
||||||
|
|
||||||
host_set_driver(vusb_driver());
|
|
||||||
setup_usb();
|
setup_usb();
|
||||||
sei();
|
sei();
|
||||||
|
keyboard_init();
|
||||||
|
host_set_driver(vusb_driver());
|
||||||
|
|
||||||
wait_ms(50);
|
wait_ms(50);
|
||||||
|
|
||||||
keyboard_init();
|
|
||||||
#ifdef SLEEP_LED_ENABLE
|
#ifdef SLEEP_LED_ENABLE
|
||||||
sleep_led_init();
|
sleep_led_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue