diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-03-04 08:03:13 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-03-04 08:03:13 +0000 |
commit | 7e7124e40ba2155c5ee4348701be30d3790edca3 (patch) | |
tree | 7c8d7f6fb75555874b10577e2937e00a3deec284 /LUFA/Drivers/Board | |
parent | 5e787a4bb04f8a27f9300077361403adf2e92b3f (diff) | |
download | lufa-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/Board')
-rw-r--r-- | LUFA/Drivers/Board/Dataflash.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/Board/Dataflash.h b/LUFA/Drivers/Board/Dataflash.h index 08deb50d4..2b682d7c9 100644 --- a/LUFA/Drivers/Board/Dataflash.h +++ b/LUFA/Drivers/Board/Dataflash.h @@ -108,7 +108,7 @@ *
* \return Last response byte from the dataflash
*/
- static inline uint8_t Dataflash_TransferByte(const uint8_t Byte) ATTR_ALWAYSINLINE;
+ static inline uint8_t Dataflash_TransferByte(const uint8_t Byte) ATTR_ALWAYS_INLINE;
static inline uint8_t Dataflash_TransferByte(const uint8_t Byte)
{
return SPI_TransferByte(Byte);
@@ -118,7 +118,7 @@ *
* \param Byte of data to send to the dataflash
*/
- static inline void Dataflash_SendByte(const uint8_t Byte) ATTR_ALWAYSINLINE;
+ static inline void Dataflash_SendByte(const uint8_t Byte) ATTR_ALWAYS_INLINE;
static inline void Dataflash_SendByte(const uint8_t Byte)
{
SPI_SendByte(Byte);
@@ -128,7 +128,7 @@ *
* \return Last response byte from the dataflash
*/
- static inline uint8_t Dataflash_ReceiveByte(void) ATTR_ALWAYSINLINE ATTR_WARN_UNUSED_RESULT;
+ static inline uint8_t Dataflash_ReceiveByte(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;
static inline uint8_t Dataflash_ReceiveByte(void)
{
return SPI_ReceiveByte();
|