aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-04-11 17:39:00 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-04-11 17:39:00 +0000
commit334f70aa80ecfa05a42c6006cb49d14f05555fa8 (patch)
tree7d5202f43f4613dd9cc15b72434a3881ae65e5e9 /LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h
parentd5e84db5ab84d05d135d2522a419db65a4491628 (diff)
downloadlufa-334f70aa80ecfa05a42c6006cb49d14f05555fa8.tar.gz
lufa-334f70aa80ecfa05a42c6006cb49d14f05555fa8.tar.bz2
lufa-334f70aa80ecfa05a42c6006cb49d14f05555fa8.zip
Add some missing function attributes.
Diffstat (limited to 'LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h')
-rw-r--r--LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h b/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h
index c0a9067b7..80de7da80 100644
--- a/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h
+++ b/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h
@@ -201,8 +201,10 @@
* \param[in] Prescale Prescaler to use when determining the bus frequency, a \c TWI_BIT_PRESCALE_* value.
* \param[in] BitLength Length of the bits sent on the bus.
*/
- static inline void TWI_Init(const uint8_t Prescale, const uint8_t BitLength) ATTR_ALWAYS_INLINE;
- static inline void TWI_Init(const uint8_t Prescale, const uint8_t BitLength)
+ static inline void TWI_Init(const uint8_t Prescale,
+ const uint8_t BitLength) ATTR_ALWAYS_INLINE;
+ static inline void TWI_Init(const uint8_t Prescale,
+ const uint8_t BitLength)
{
TWCR |= (1 << TWEN);
TWSR = Prescale;