Explorar el Código

Fix LUFA blocking during startup

- Blocking occurs if built without option INTERRUPT_CONTROL_ENDPOINT
tags/v1.9
tmk hace 10 años
padre
commit
d267ee2ada
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      protocol/lufa/lufa.c

+ 2
- 0
protocol/lufa/lufa.c Ver fichero

@@ -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();

Cargando…
Cancelar
Guardar