aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-05-06 00:25:12 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-05-06 00:25:12 +0000
commitfc31973daffea3506051ce51a5f79383ce0867d6 (patch)
tree09b2c2639bfa916c947f506a3623c0e7eaff764b /Bootloaders
parenta926053ab55566b30eb83b12c0e32b890db91740 (diff)
downloadlufa-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.c2
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);