Oops - wrong casting on the Configuration Descriptor pointer advance routine.
This commit is contained in:
parent
3705330dd3
commit
32b7762325
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@
|
|||
{
|
||||
uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size;
|
||||
|
||||
*((uint8_t**)CurrConfigLoc) += CurrDescriptorSize;
|
||||
*CurrConfigLoc += CurrDescriptorSize;
|
||||
*BytesRem -= CurrDescriptorSize;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue