diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-06 00:25:12 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-06 00:25:12 +0000 |
commit | fc31973daffea3506051ce51a5f79383ce0867d6 (patch) | |
tree | 09b2c2639bfa916c947f506a3623c0e7eaff764b /Bootloaders | |
parent | a926053ab55566b30eb83b12c0e32b890db91740 (diff) | |
download | lufa-fc31973daffea3506051ce51a5f79383ce0867d6.tar.gz lufa-fc31973daffea3506051ce51a5f79383ce0867d6.tar.bz2 lufa-fc31973daffea3506051ce51a5f79383ce0867d6.zip |
Fixed incorrect comparison in the descriptor callback routine of the TeensyHID bootloader.
Diffstat (limited to 'Bootloaders')
-rw-r--r-- | Bootloaders/TeensyHID/Descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/TeensyHID/Descriptors.c b/Bootloaders/TeensyHID/Descriptors.c index 4142f1247..9cd987c4d 100644 --- a/Bootloaders/TeensyHID/Descriptors.c +++ b/Bootloaders/TeensyHID/Descriptors.c @@ -164,7 +164,7 @@ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, Address = (void*)&DeviceDescriptor;
Size = sizeof(USB_Descriptor_Device_t);
}
- else if (DescriptorType == DTYPE_Device)
+ else if (DescriptorType == DTYPE_Configuration)
{
Address = (void*)&ConfigurationDescriptor;
Size = sizeof(USB_Descriptor_Configuration_t);
|