aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-09-02 04:38:56 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-09-02 04:38:56 +0000
commit413438eb2330e8b2d9606a2936a169c9dd7916de (patch)
tree05f869f3772a849ee4c1326164a46bfa08750382 /LUFA/Common
parent88d022a75245e7492ecd11a5e1ea5c553acf0b2c (diff)
downloadlufa-413438eb2330e8b2d9606a2936a169c9dd7916de.tar.gz
lufa-413438eb2330e8b2d9606a2936a169c9dd7916de.tar.bz2
lufa-413438eb2330e8b2d9606a2936a169c9dd7916de.zip
Add new TWI_BITLENGTH_FROM_FREQ() macro to the AVR8 TWI peripheral driver.
Change Delay_MS() to accept a 16-bit parameter rather than an 8-bit parameter for longer possible delays. Minor documentation improvements.
Diffstat (limited to 'LUFA/Common')
-rw-r--r--LUFA/Common/Common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h
index 43df9fbe9..e9faf7af4 100644
--- a/LUFA/Common/Common.h
+++ b/LUFA/Common/Common.h
@@ -237,8 +237,8 @@
*
* \param[in] Milliseconds Number of milliseconds to delay
*/
- static inline void Delay_MS(uint8_t Milliseconds) ATTR_ALWAYS_INLINE;
- static inline void Delay_MS(uint8_t Milliseconds)
+ static inline void Delay_MS(uint16_t Milliseconds) ATTR_ALWAYS_INLINE;
+ static inline void Delay_MS(uint16_t Milliseconds)
{
#if (ARCH == ARCH_AVR8)
if (GCC_IS_COMPILE_CONST(Milliseconds))