Skip to content
Permalink
Browse files

Only try to read the report ID from SetReport when the keyboard is pa…

…rt of the shared EP

Fixes #4471
Fixes #4517
  • Loading branch information
fauxpark authored and drashna committed Dec 5, 2018
1 parent 0677e64 commit d6b7ca04f22e3f1e0f9ce4074f3902fddba338ad
Showing with 1 addition and 1 deletion.
  1. +1 −1 tmk_core/protocol/lufa/lufa.c
@@ -517,7 +517,7 @@ void EVENT_USB_Device_ControlRequest(void)
if (USB_DeviceState == DEVICE_STATE_Unattached)
return;
}
#if defined(SHARED_EP_ENABLE)
#ifdef KEYBOARD_SHARED_EP
uint8_t report_id = REPORT_ID_KEYBOARD;
if (keyboard_protocol) {
report_id = Endpoint_Read_8();

0 comments on commit d6b7ca0

Please sign in to comment.