aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-01-05 04:50:18 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-01-05 04:50:18 +0000
commit60e96412220b62a614348c287354c56f282fcc70 (patch)
treee9ed81aa0184a784958c697a26062cc2861b84a7 /LUFA/Common
parent6122ba93cf957bd495fdd1838bac16fb24896a17 (diff)
downloadlufa-60e96412220b62a614348c287354c56f282fcc70.tar.gz
lufa-60e96412220b62a614348c287354c56f282fcc70.tar.bz2
lufa-60e96412220b62a614348c287354c56f282fcc70.zip
Inline USB management functions in the Class drivers which are standardized but currently unused, to prevent them from using up unneccesary cycles and flash in the user application.
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;