aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Common')
-rw-r--r--LUFA/Common/Common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h
index 2b57cda91..2ddb58c8c 100644
--- a/LUFA/Common/Common.h
+++ b/LUFA/Common/Common.h
@@ -172,7 +172,7 @@
{
Temp = *Data;
*Data = *(Data + Bytes - 1);
- *(Data + Bytes) = Temp;
+ *(Data + Bytes - 1) = Temp;
Data++;
Bytes -= 2;