forked from mfulz_github/qmk_firmware
Oops - wrong casting on the Configuration Descriptor pointer advance routine.
This commit is contained in:
parent
3705330dd3
commit
32b7762325
|
@ -263,7 +263,7 @@
|
||||||
{
|
{
|
||||||
uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size;
|
uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size;
|
||||||
|
|
||||||
*((uint8_t**)CurrConfigLoc) += CurrDescriptorSize;
|
*CurrConfigLoc += CurrDescriptorSize;
|
||||||
*BytesRem -= CurrDescriptorSize;
|
*BytesRem -= CurrDescriptorSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue