X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/cff190b8f47416698f3783e1e7711f0864713f73..e9029d49d5455ec146d2e87436d43d747d6c657a:/LUFA/Common/Common.h?ds=sidebyside diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 43df9fbe9..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) @@ -237,8 +239,8 @@ * * \param[in] Milliseconds Number of milliseconds to delay */ - static inline void Delay_MS(uint8_t Milliseconds) ATTR_ALWAYS_INLINE; - static inline void Delay_MS(uint8_t Milliseconds) + static inline void Delay_MS(uint16_t Milliseconds) ATTR_ALWAYS_INLINE; + static inline void Delay_MS(uint16_t Milliseconds) { #if (ARCH == ARCH_AVR8) if (GCC_IS_COMPILE_CONST(Milliseconds))