summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocol/lufa/lufa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocol/lufa/lufa.c b/protocol/lufa/lufa.c
index a4e57b227d..a230d5ba20 100644
--- a/protocol/lufa/lufa.c
+++ b/protocol/lufa/lufa.c
@@ -539,7 +539,9 @@ int main(void)
{
SetupHardware();
sei();
+#if defined(INTERRUPT_CONTROL_ENDPOINT)
while (USB_DeviceState != DEVICE_STATE_Configured) ;
+#endif
print("USB configured.\n");
keyboard_init();