mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-05 07:52:42 +00:00
Fix HID bootloader responding incorrectly to some descriptor requests (thanks to NicoHood).
This commit is contained in:
parent
49148fef9b
commit
7e97be22a3
@ -175,7 +175,7 @@ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
|
||||
Address = &ConfigurationDescriptor.HID_VendorHID;
|
||||
Size = sizeof(USB_HID_Descriptor_HID_t);
|
||||
}
|
||||
else
|
||||
else if (DescriptorType == HID_DTYPE_Report)
|
||||
{
|
||||
Address = &HIDReport;
|
||||
Size = sizeof(HIDReport);
|
||||
|
Loading…
Reference in New Issue
Block a user