From fc31973daffea3506051ce51a5f79383ce0867d6 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 6 May 2010 00:25:12 +0000 Subject: [PATCH] Fixed incorrect comparison in the descriptor callback routine of the TeensyHID bootloader. --- Bootloaders/TeensyHID/Descriptors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootloaders/TeensyHID/Descriptors.c b/Bootloaders/TeensyHID/Descriptors.c index 4142f12474..9cd987c4d2 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);