~ruther/qmk_firmware

d267ee2adabdae333d77d4434ba8256c2270bc19 — tmk 12 years ago 7d692c4
Fix LUFA blocking during startup

- Blocking occurs if built without option INTERRUPT_CONTROL_ENDPOINT
1 files changed, 2 insertions(+), 0 deletions(-)

M protocol/lufa/lufa.c
M protocol/lufa/lufa.c => protocol/lufa/lufa.c +2 -0
@@ 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();