X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/7f9f97c792dee6875fbca9806422bdd7d6c5a657..19ecd04f37f68c0674f1194aa8d8a4fc94d6168b:/LUFA/Common/Common.h?ds=sidebyside diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 2b57cda91..f64de8ff8 100644 --- a/LUFA/Common/Common.h +++ b/LUFA/Common/Common.h @@ -29,6 +29,7 @@ */ /** \file + * \brief Common library convenience macros and functions. * * This file contains macros which are common to all library elements, and which may be useful in user code. It * also includes other common headers, such as Atomic.h, FunctionAttributes.h and BoardTypes.h. @@ -172,7 +173,7 @@ { Temp = *Data; *Data = *(Data + Bytes - 1); - *(Data + Bytes) = Temp; + *(Data + Bytes - 1) = Temp; Data++; Bytes -= 2;