From: Dean Camera Date: Wed, 30 Sep 2015 11:49:13 +0000 (+1000) Subject: Merge pull request #62 from the2masters/RNDIS-DHCP X-Git-Tag: LUFA-151115~21 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/b0c64393c71f42055a05765fa6ce2c4ae45d0b87?hp=55adec1f4f9b600ade83c9269632cdc4b6a8b9e1 Merge pull request #62 from the2masters/RNDIS-DHCP Add DHCP Lease Time to RNDIS Demo (thanks to Stefan Hellermann). --- diff --git a/LUFA/Common/Endianness.h b/LUFA/Common/Endianness.h index 865a767b6..ea6c182fb 100644 --- a/LUFA/Common/Endianness.h +++ b/LUFA/Common/Endianness.h @@ -397,7 +397,7 @@ * * \return Input data with the individual bytes reversed. */ - static inline uint16_t SwapEndian_16(const uint16_t Word) ATTR_WARN_UNUSED_RESULT ATTR_CONST; + static inline uint16_t SwapEndian_16(const uint16_t Word) ATTR_WARN_UNUSED_RESULT ATTR_CONST ATTR_ALWAYS_INLINE; static inline uint16_t SwapEndian_16(const uint16_t Word) { if (GCC_IS_COMPILE_CONST(Word)) @@ -428,7 +428,7 @@ * * \return Input data with the individual bytes reversed. */ - static inline uint32_t SwapEndian_32(const uint32_t DWord) ATTR_WARN_UNUSED_RESULT ATTR_CONST; + static inline uint32_t SwapEndian_32(const uint32_t DWord) ATTR_WARN_UNUSED_RESULT ATTR_CONST ATTR_ALWAYS_INLINE; static inline uint32_t SwapEndian_32(const uint32_t DWord) { if (GCC_IS_COMPILE_CONST(DWord))