Browse Source

V-USB: Fix initial dropped keypress (#11263)

pull/11284/head 0.11.18
Ryan 3 years ago
committed by GitHub
parent
commit
78b2f120e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      tmk_core/protocol/vusb/main.c

+ 2
- 3
tmk_core/protocol/vusb/main.c View File

@ -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


Loading…
Cancel
Save