diff --git a/Bootloaders/HID/Descriptors.c b/Bootloaders/HID/Descriptors.c index 396150e2d8..4c475db51d 100644 --- a/Bootloaders/HID/Descriptors.c +++ b/Bootloaders/HID/Descriptors.c @@ -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);