diff options
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/protocol/lufa/lufa.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c index cdabaf16e..f2ecf2465 100644 --- a/tmk_core/protocol/lufa/lufa.c +++ b/tmk_core/protocol/lufa/lufa.c | |||
| @@ -519,11 +519,7 @@ void EVENT_USB_Device_ControlRequest(void) | |||
| 519 | } | 519 | } |
| 520 | 520 | ||
| 521 | if (Endpoint_BytesInEndpoint() == 2) { | 521 | if (Endpoint_BytesInEndpoint() == 2) { |
| 522 | uint8_t report_id = REPORT_ID_KEYBOARD; | 522 | uint8_t report_id = Endpoint_Read_8(); |
| 523 | |||
| 524 | if (keyboard_protocol) { | ||
| 525 | report_id = Endpoint_Read_8(); | ||
| 526 | } | ||
| 527 | 523 | ||
| 528 | if (report_id == REPORT_ID_KEYBOARD || report_id == REPORT_ID_NKRO) { | 524 | if (report_id == REPORT_ID_KEYBOARD || report_id == REPORT_ID_NKRO) { |
| 529 | keyboard_led_stats = Endpoint_Read_8(); | 525 | keyboard_led_stats = Endpoint_Read_8(); |
