usb_usb: Remove startup wait

Some keyboards boot up quickly and cannot be enumerated
when powering up converter and keyboard at same time
This commit is contained in:
tmk 2017-05-11 00:16:21 +09:00
parent b0573ba80e
commit 3eae475f8b

View file

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