lufa: Change wait for USB startup
This commit is contained in:
parent
d74ba8f173
commit
b3b2e23584
1 changed files with 1 additions and 1 deletions
|
|
@ -762,7 +762,7 @@ int main(void)
|
||||||
|
|
||||||
#ifndef NO_USB_STARTUP_WAIT_LOOP
|
#ifndef NO_USB_STARTUP_WAIT_LOOP
|
||||||
/* wait for USB startup */
|
/* wait for USB startup */
|
||||||
while (USB_DeviceState != DEVICE_STATE_Configured) {
|
while (USB_DeviceState != DEVICE_STATE_Configured || !console_is_ready()) {
|
||||||
#if defined(INTERRUPT_CONTROL_ENDPOINT)
|
#if defined(INTERRUPT_CONTROL_ENDPOINT)
|
||||||
;
|
;
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue