From e3388fc429ee4253913d863caca59b97eb8082d2 Mon Sep 17 00:00:00 2001 From: Dean Date: Tue, 12 Jul 2011 05:13:31 +0000 Subject: Add missing function attributes. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1862 d5102386-fcda-11dd-9fdb-3debd5008f28 --- 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 fd42c502..48b8740f 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