Add missing function attributes.
[pub/lufa.git] / LUFA / Drivers / Peripheral / AVR8 / SPI_AVR8.h
index fd42c50..48b8740 100644 (file)
                         *
                         *  \return \ref SPI_MODE_MASTER if the interface is currently in SPI Master mode, \ref SPI_MODE_SLAVE otherwise
                         */
+                       static inline uint8_t SPI_GetCurrentMode(void) ATTR_ALWAYS_INLINE;
                        static inline uint8_t SPI_GetCurrentMode(void)
                        {
                                return (SPCR & SPI_MODE_MASTER);