From 60e96412220b62a614348c287354c56f282fcc70 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 5 Jan 2010 04:50:18 +0000 Subject: 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. --- LUFA/Common/Common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LUFA/Common') 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; -- cgit v1.2.3