Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
32b77623
Commit
32b77623
authored
Dec 13, 2009
by
Dean Camera
Browse files
Oops - wrong casting on the Configuration Descriptor pointer advance routine.
parent
3705330d
Changes
1
Hide whitespace changes
Inline
Side-by-side
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
View file @
32b77623
...
...
@@ -263,7 +263,7 @@
{
uint16_t
CurrDescriptorSize
=
DESCRIPTOR_CAST
(
*
CurrConfigLoc
,
USB_Descriptor_Header_t
).
Size
;
*
((
uint8_t
**
)
CurrConfigLoc
)
+=
CurrDescriptorSize
;
*
CurrConfigLoc
+=
CurrDescriptorSize
;
*
BytesRem
-=
CurrDescriptorSize
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment