From 7207b0569529f5dcf180ec1d84d86c3f573168aa Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 12 Jul 2011 05:13:31 +0000 Subject: Add missing function attributes. --- LUFA/Drivers/Peripheral/AVR8/SPI_AVR8.h | 1 + 1 file changed, 1 insertion(+) (limited to 'LUFA/Drivers/Peripheral/AVR8') diff --git a/LUFA/Drivers/Peripheral/AVR8/SPI_AVR8.h b/LUFA/Drivers/Peripheral/AVR8/SPI_AVR8.h index fd42c5022..48b8740fe 100644 --- a/LUFA/Drivers/Peripheral/AVR8/SPI_AVR8.h +++ b/LUFA/Drivers/Peripheral/AVR8/SPI_AVR8.h @@ -200,6 +200,7 @@ * * \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); -- cgit v1.2.3