forked from mfulz_github/qmk_firmware
Merge pull request #28 from The-42/fix-feature-id
Fix missing report IDs for HID device class GetReport request responses (thanks to Bert van Hall).
This commit is contained in:
commit
2812287488
|
@ -68,6 +68,10 @@ void HID_Device_ProcessControlRequest(USB_ClassInfo_HID_Device_t* const HIDInter
|
||||||
Endpoint_SelectEndpoint(ENDPOINT_CONTROLEP);
|
Endpoint_SelectEndpoint(ENDPOINT_CONTROLEP);
|
||||||
|
|
||||||
Endpoint_ClearSETUP();
|
Endpoint_ClearSETUP();
|
||||||
|
|
||||||
|
if (ReportID)
|
||||||
|
Endpoint_Write_8(ReportID);
|
||||||
|
|
||||||
Endpoint_Write_Control_Stream_LE(ReportData, ReportSize);
|
Endpoint_Write_Control_Stream_LE(ReportData, ReportSize);
|
||||||
Endpoint_ClearOUT();
|
Endpoint_ClearOUT();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue