Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
usb_usb: Remove startup wait
Some keyboards boot up quickly and cannot be enumerated
when powering up converter and keyboard at same time
  • Loading branch information
tmk committed May 10, 2017
1 parent b0573ba commit 3eae475
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions converter/usb_usb/main.cpp
Expand Up @@ -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");

Expand Down

0 comments on commit 3eae475

Please sign in to comment.