aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/AT90USBXXX/SPI.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-03-04 08:03:13 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-03-04 08:03:13 +0000
commit7e7124e40ba2155c5ee4348701be30d3790edca3 (patch)
tree7c8d7f6fb75555874b10577e2937e00a3deec284 /LUFA/Drivers/AT90USBXXX/SPI.h
parent5e787a4bb04f8a27f9300077361403adf2e92b3f (diff)
downloadlufa-7e7124e40ba2155c5ee4348701be30d3790edca3.tar.gz
lufa-7e7124e40ba2155c5ee4348701be30d3790edca3.tar.bz2
lufa-7e7124e40ba2155c5ee4348701be30d3790edca3.zip
Updated makefiles to reflect new dfu-ee programming target invocations (supplied by Opendous, Inc.).
Renamed the ATTR_ALWAYSINLINE function attribute macro to ATTR_ALWAYS_INLINE to match the style of the other function attribute macro names. Added ATTR_ALWAYS_INLINE attribute to several inlined library functions, to ensure they are inlined in all circumstances. Cleanups to Endpoint.h and Pipe.h. Added better documentation for the endpoint and pipe interrupts.
Diffstat (limited to 'LUFA/Drivers/AT90USBXXX/SPI.h')
-rw-r--r--LUFA/Drivers/AT90USBXXX/SPI.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/AT90USBXXX/SPI.h b/LUFA/Drivers/AT90USBXXX/SPI.h
index 0b333a804..2cfa52322 100644
--- a/LUFA/Drivers/AT90USBXXX/SPI.h
+++ b/LUFA/Drivers/AT90USBXXX/SPI.h
@@ -98,7 +98,7 @@
*
* \return Response byte from the attached SPI device
*/
- static inline uint8_t SPI_TransferByte(const uint8_t Byte) ATTR_ALWAYSINLINE;
+ static inline uint8_t SPI_TransferByte(const uint8_t Byte) ATTR_ALWAYS_INLINE;
static inline uint8_t SPI_TransferByte(const uint8_t Byte)
{
SPDR = Byte;
@@ -111,7 +111,7 @@
*
* \param Byte Byte to send through the SPI interface
*/
- static inline void SPI_SendByte(const uint8_t Byte) ATTR_ALWAYSINLINE;
+ static inline void SPI_SendByte(const uint8_t Byte) ATTR_ALWAYS_INLINE;
static inline void SPI_SendByte(const uint8_t Byte)
{
SPDR = Byte;
@@ -123,7 +123,7 @@
*
* \return The response byte from the attached SPI device
*/
- static inline uint8_t SPI_ReceiveByte(void) ATTR_ALWAYSINLINE ATTR_WARN_UNUSED_RESULT;
+ static inline uint8_t SPI_ReceiveByte(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;
static inline uint8_t SPI_ReceiveByte(void)
{
SPDR = 0x00;