]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
usb_usb: Remove startup wait
authortmk <hasu@tmk-kbd.com>
Wed, 10 May 2017 15:16:21 +0000 (00:16 +0900)
committertmk <hasu@tmk-kbd.com>
Wed, 10 May 2017 15:16:21 +0000 (00:16 +0900)
Some keyboards boot up quickly and cannot be enumerated
when powering up converter and keyboard at same time

converter/usb_usb/main.cpp

index 5b542a75c10c055055bb19556bc153761f7053f8..2d9f56025e7a5298bae766d28abfd36e56b1f038 100644 (file)
@@ -75,11 +75,13 @@ int main(void)
      */
     sei();
 
+/* Some keyboards bootup quickly and cannot be initialized with this startup wait.
     // wait for startup of sendchar routine
     while (USB_DeviceState != DEVICE_STATE_Configured) ;
     if (debug_enable) {
         _delay_ms(1000);
     }
+*/
 
     debug("init: done\n");