diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c | 2 | ||||
| -rw-r--r-- | lib/lufa/LUFA/Drivers/USB/Core/Events.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c b/lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c index 62f10c4e2..9250cad33 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, | |||
| 90 | if (CurrStateTable == &StateTable[HID_STATETABLE_STACK_DEPTH - 1]) | 90 | if (CurrStateTable == &StateTable[HID_STATETABLE_STACK_DEPTH - 1]) |
| 91 | return HID_PARSE_HIDStackOverflow; | 91 | return HID_PARSE_HIDStackOverflow; |
| 92 | 92 | ||
| 93 | memcpy((CurrStateTable + 1), | 93 | memmove(CurrStateTable + 1, |
| 94 | CurrStateTable, | 94 | CurrStateTable, |
| 95 | sizeof(HID_ReportItem_t)); | 95 | sizeof(HID_ReportItem_t)); |
| 96 | 96 | ||
diff --git a/lib/lufa/LUFA/Drivers/USB/Core/Events.h b/lib/lufa/LUFA/Drivers/USB/Core/Events.h index 57fd0d9af..91fb31b62 100644 --- a/lib/lufa/LUFA/Drivers/USB/Core/Events.h +++ b/lib/lufa/LUFA/Drivers/USB/Core/Events.h | |||
| @@ -331,7 +331,7 @@ | |||
| 331 | #if !defined(__DOXYGEN__) | 331 | #if !defined(__DOXYGEN__) |
| 332 | /* Function Prototypes: */ | 332 | /* Function Prototypes: */ |
| 333 | #if defined(__INCLUDE_FROM_EVENTS_C) | 333 | #if defined(__INCLUDE_FROM_EVENTS_C) |
| 334 | void USB_Event_Stub(void) ATTR_CONST; | 334 | void USB_Event_Stub(void); |
| 335 | 335 | ||
| 336 | #if defined(USB_CAN_BE_BOTH) | 336 | #if defined(USB_CAN_BE_BOTH) |
| 337 | void EVENT_USB_UIDChange(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); | 337 | void EVENT_USB_UIDChange(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub); |
