Explorar el Código

Fix NKRO code when NKRO is disable

yuk86
tmk hace 9 años
padre
commit
32997200f7
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

@@ -272,7 +272,9 @@ void EVENT_USB_Device_ControlRequest(void)
// Interface
switch (USB_ControlRequest.wIndex) {
case KEYBOARD_INTERFACE:
#ifdef NKRO_ENABLE
case NKRO_INTERFACE:
#endif
Endpoint_ClearSETUP();

while (!(Endpoint_IsOUTReceived())) {