From b3b2e235840c66f9b5859c130ccbc0acbb76c083 Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 2 Feb 2022 18:10:53 +0900 Subject: [PATCH] lufa: Change wait for USB startup --- tmk_core/protocol/lufa/lufa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c index 0660c9d3..fab3ddeb 100644 --- a/tmk_core/protocol/lufa/lufa.c +++ b/tmk_core/protocol/lufa/lufa.c @@ -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