mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-12 03:44:19 +00:00
Fix accidentally changed code breaking the HID descriptor parser.
This commit is contained in:
parent
046fff2aff
commit
09575f9607
@ -216,8 +216,7 @@ uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID
|
|||||||
case (TYPE_MAIN | TAG_MAIN_INPUT):
|
case (TYPE_MAIN | TAG_MAIN_INPUT):
|
||||||
case (TYPE_MAIN | TAG_MAIN_OUTPUT):
|
case (TYPE_MAIN | TAG_MAIN_OUTPUT):
|
||||||
case (TYPE_MAIN | TAG_MAIN_FEATURE):
|
case (TYPE_MAIN | TAG_MAIN_FEATURE):
|
||||||
uint8_t Count = CurrStateTable->ReportCount;
|
for (uint8_t ReportItemNum = 0; ReportItemNum < CurrStateTable->ReportCount; ReportItemNum++)
|
||||||
for (uint8_t ReportItemNum = 0; ReportItemNum < Count; ReportItemNum++)
|
|
||||||
{
|
{
|
||||||
HID_ReportItem_t NewReportItem;
|
HID_ReportItem_t NewReportItem;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user