Oops - wrong casting on the Configuration Descriptor pointer advance routine.

pull/1469/head
Dean Camera 15 years ago
parent 3705330dd3
commit 32b7762325

@ -263,7 +263,7 @@
{
uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size;
*((uint8_t**)CurrConfigLoc) += CurrDescriptorSize;
*CurrConfigLoc += CurrDescriptorSize;
*BytesRem -= CurrDescriptorSize;
}

Loading…
Cancel
Save