X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/065ed4da207173495d0a569b0f2973daebb841f0..cdd4e11fa8559fc7fbea54f29310f6a2307d075c:/LUFA/Drivers/Peripheral/AVR8/SPI_AVR8.h?ds=sidebyside 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);