projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed HID report parser corruption when parsing PUSH and POP report item elements.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Common
/
HIDParser.c
diff --git
a/LUFA/Drivers/USB/Class/Common/HIDParser.c
b/LUFA/Drivers/USB/Class/Common/HIDParser.c
index
04fd760
..
87eaf7c
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Common/HIDParser.c
+++ b/
LUFA/Drivers/USB/Class/Common/HIDParser.c
@@
-92,7
+92,7
@@
uint8_t USB_ProcessHIDReport(const uint8_t* ReportData,
memcpy((CurrStateTable + 1),
CurrStateTable,
- sizeof(HID_
ReportItem
_t));
+ sizeof(HID_
StateTable
_t));
CurrStateTable++;
break;