Add missing function attributes.
This commit is contained in:
parent
065ed4da20
commit
7207b05695
16 changed files with 80 additions and 47 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue