Browse Source

Fix NKRO code when NKRO is disable

tags/v1.9
tmk 9 years ago
parent
commit
32997200f7
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      protocol/lufa/lufa.c

+ 2
- 0
protocol/lufa/lufa.c View File

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

Loading…
Cancel
Save