diff options
Diffstat (limited to 'protocol/pjrc/usb.c')
| -rw-r--r-- | protocol/pjrc/usb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocol/pjrc/usb.c b/protocol/pjrc/usb.c index b09ad3f23..2b267d480 100644 --- a/protocol/pjrc/usb.c +++ b/protocol/pjrc/usb.c | |||
| @@ -930,6 +930,9 @@ ISR(USB_COM_vect) | |||
| 930 | } | 930 | } |
| 931 | if (bRequest == HID_SET_PROTOCOL) { | 931 | if (bRequest == HID_SET_PROTOCOL) { |
| 932 | keyboard_protocol = wValue; | 932 | keyboard_protocol = wValue; |
| 933 | #ifdef NKRO_ENABLE | ||
| 934 | keyboard_nkro = !!keyboard_protocol; | ||
| 935 | #endif | ||
| 933 | clear_keyboard(); | 936 | clear_keyboard(); |
| 934 | //usb_wait_in_ready(); | 937 | //usb_wait_in_ready(); |
| 935 | usb_send_in(); | 938 | usb_send_in(); |
