projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed report data alignment issues in the MouseHostWithParser demo when X and Y movem...
[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
18519a0
..
cee602a
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/HIDParser.c
+++ b/
LUFA/Drivers/USB/Class/Host/HIDParser.c
@@
-113,6
+113,8
@@
uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID
break;
\r
case (TYPE_GLOBAL | TAG_GLOBAL_REPORTID):
\r
CurrStateTable->ReportID = ReportItemData;
\r
+ BitOffsetIn = 0;
\r
+ BitOffsetOut = 0;
\r
break;
\r
case (TYPE_LOCAL | TAG_LOCAL_USAGE):
\r
if (UsageStackSize == HID_USAGE_STACK_DEPTH)
\r