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

This commit is contained in:
Dean Camera 2009-12-13 14:16:29 +00:00
parent 3705330dd3
commit 32b7762325
1 changed files with 1 additions and 1 deletions

View File

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