Skip to content
Snippets Groups Projects
Commit 7e97be22 authored by Dean Camera's avatar Dean Camera
Browse files

Fix HID bootloader responding incorrectly to some descriptor requests (thanks to NicoHood).

parent 49148fef
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment