projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add return codes to the CDC Host Class driver String/Byte transmission functions.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Host
/
HIDParser.c
diff --git
a/LUFA/Drivers/USB/Class/Host/HIDParser.c
b/LUFA/Drivers/USB/Class/Host/HIDParser.c
index
fdce8e5
..
3fbad65
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/HIDParser.c
+++ b/
LUFA/Drivers/USB/Class/Host/HIDParser.c
@@
-51,9
+51,10
@@
uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID
\r
while (ReportSize)
\r
{
\r
- uint8_t HIDReportItem = *
(ReportData++)
;
\r
+ uint8_t HIDReportItem = *
ReportData
;
\r
uint32_t ReportItemData = 0;
\r
\r
+ ReportData++;
\r
ReportSize--;
\r
\r
switch (HIDReportItem & DATA_SIZE_MASK)
\r