Fix set LED for NKRO keyboard interface
This commit is contained in:
parent
81a928d9e3
commit
6f66f9955c
@ -272,6 +272,7 @@ void EVENT_USB_Device_ControlRequest(void)
|
|||||||
// Interface
|
// Interface
|
||||||
switch (USB_ControlRequest.wIndex) {
|
switch (USB_ControlRequest.wIndex) {
|
||||||
case KEYBOARD_INTERFACE:
|
case KEYBOARD_INTERFACE:
|
||||||
|
case NKRO_INTERFACE:
|
||||||
Endpoint_ClearSETUP();
|
Endpoint_ClearSETUP();
|
||||||
|
|
||||||
while (!(Endpoint_IsOUTReceived())) {
|
while (!(Endpoint_IsOUTReceived())) {
|
||||||
|
Reference in New Issue
Block a user