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:
parent
b0573ba80e
commit
3eae475f8b
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||||
|
|
||||||
|
|
Reference in a new issue