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