From 77dbfd3cc44b91ea04990c65f3de70267ceb2460 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 22 Sep 2011 05:55:32 +0000 Subject: Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with that meta-attribute are not discarded by the linker. Add missing function and definition documentation. --- LUFA/Common/Common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'LUFA/Common/Common.h') diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index e9faf7af4..a94850497 100644 --- a/LUFA/Common/Common.h +++ b/LUFA/Common/Common.h @@ -220,6 +220,8 @@ * etc. * * \param[in] Byte Byte of data whose bits are to be reversed. + * + * \return Input data with the individual bits reversed (mirrored). */ static inline uint8_t BitReverse(uint8_t Byte) ATTR_WARN_UNUSED_RESULT ATTR_CONST; static inline uint8_t BitReverse(uint8_t Byte) -- cgit v1.2.3