Skip to content
Snippets Groups Projects
Commit 32b77623 authored by Dean Camera's avatar Dean Camera
Browse files

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

parent 3705330d
Branches
Tags
No related merge requests found
......@@ -263,7 +263,7 @@
{
uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size;
*((uint8_t**)CurrConfigLoc) += CurrDescriptorSize;
*CurrConfigLoc += CurrDescriptorSize;
*BytesRem -= CurrDescriptorSize;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment