mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-11 11:24:15 +00:00
Fixed incorrect comparison in the descriptor callback routine of the TeensyHID bootloader.
This commit is contained in:
parent
a926053ab5
commit
fc31973daf
@ -164,7 +164,7 @@ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex,
|
|||||||
Address = (void*)&DeviceDescriptor;
|
Address = (void*)&DeviceDescriptor;
|
||||||
Size = sizeof(USB_Descriptor_Device_t);
|
Size = sizeof(USB_Descriptor_Device_t);
|
||||||
}
|
}
|
||||||
else if (DescriptorType == DTYPE_Device)
|
else if (DescriptorType == DTYPE_Configuration)
|
||||||
{
|
{
|
||||||
Address = (void*)&ConfigurationDescriptor;
|
Address = (void*)&ConfigurationDescriptor;
|
||||||
Size = sizeof(USB_Descriptor_Configuration_t);
|
Size = sizeof(USB_Descriptor_Configuration_t);
|
||||||
|
Loading…
Reference in New Issue
Block a user