summaryrefslogtreecommitdiff
path: root/lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c')
-rw-r--r--lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c b/lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c
index 62f10c4e22..9250cad33a 100644
--- a/lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c
+++ b/lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c
@@ -90,7 +90,7 @@ uint8_t USB_ProcessHIDReport(const uint8_t* ReportData,
if (CurrStateTable == &StateTable[HID_STATETABLE_STACK_DEPTH - 1])
return HID_PARSE_HIDStackOverflow;
- memcpy((CurrStateTable + 1),
+ memmove(CurrStateTable + 1,
CurrStateTable,
sizeof(HID_ReportItem_t));