Fix NKRO code when NKRO is disable
This commit is contained in:
parent
d4e92b43e0
commit
b75ece52a2
@ -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())) {
|
||||
|
Reference in New Issue
Block a user