mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Oops - wrong casting on the Configuration Descriptor pointer advance routine.
This commit is contained in:
@@ -263,7 +263,7 @@
|
||||
{
|
||||
uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size;
|
||||
|
||||
*((uint8_t**)CurrConfigLoc) += CurrDescriptorSize;
|
||||
*CurrConfigLoc += CurrDescriptorSize;
|
||||
*BytesRem -= CurrDescriptorSize;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user