浏览代码

Fix LUFA blocking during startup

- Blocking occurs if built without option INTERRUPT_CONTROL_ENDPOINT
led_matrix
tmk 10 年前
父节点
当前提交
d267ee2ada
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      protocol/lufa/lufa.c

+ 2
- 0
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();