lufa: Change wait for USB startup

This commit is contained in:
tmk 2022-02-02 18:10:53 +09:00
parent d74ba8f173
commit b3b2e23584

View file

@ -762,7 +762,7 @@ int main(void)
#ifndef NO_USB_STARTUP_WAIT_LOOP
/* wait for USB startup */
while (USB_DeviceState != DEVICE_STATE_Configured) {
while (USB_DeviceState != DEVICE_STATE_Configured || !console_is_ready()) {
#if defined(INTERRUPT_CONTROL_ENDPOINT)
;
#else