projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update CDC Class Driver character stream functions to use the correct avr-libc return...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
ConfigDescriptor.h
diff --git
a/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
b/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
index
6d57d2e
..
c2dc503
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
+++ b/
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
@@
-263,8
+263,8
@@
{
\r
uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size;
\r
\r
{
\r
uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size;
\r
\r
- *
CurrConfigLoc
+= CurrDescriptorSize;
\r
- *BytesRem -= CurrDescriptorSize;
\r
+ *
((uint8_t**)CurrConfigLoc)
+= CurrDescriptorSize;
\r
+ *BytesRem
-= CurrDescriptorSize;
\r
}
\r
\r
/* Disable C linkage for C++ Compilers: */
\r
}
\r
\r
/* Disable C linkage for C++ Compilers: */
\r