From: Dean Camera Date: Thu, 6 May 2010 00:25:12 +0000 (+0000) Subject: Fixed incorrect comparison in the descriptor callback routine of the TeensyHID bootlo... X-Git-Tag: LUFA-110528-BETA~490 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/fc31973daffea3506051ce51a5f79383ce0867d6 Fixed incorrect comparison in the descriptor callback routine of the TeensyHID bootloader. --- 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);