Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
5144ea76
Commit
5144ea76
authored
Jun 02, 2010
by
Dean Camera
Browse files
Oops - descriptor pointer should be assigned, not incremented with the new type-safe code.
parent
6d22a00e
Changes
1
Show whitespace changes
Inline
Side-by-side
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
View file @
5144ea76
...
...
@@ -269,7 +269,7 @@
{
uint16_t
CurrDescriptorSize
=
DESCRIPTOR_CAST
(
*
CurrConfigLoc
,
USB_Descriptor_Header_t
).
Size
;
*
CurrConfigLoc
+
=
((
uint8_t
*
)
*
CurrConfigLoc
)
+
CurrDescriptorSize
;
*
CurrConfigLoc
=
((
uint8_t
*
)
*
CurrConfigLoc
)
+
CurrDescriptorSize
;
*
BytesRem
-=
CurrDescriptorSize
;
}
...
...
Write
Preview
Supports
Markdown
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