aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-04-11 17:30:14 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-04-11 17:30:14 +0000
commitd5e84db5ab84d05d135d2522a419db65a4491628 (patch)
tree840c43e9590bb1d5a58da9933561e9d09d8f1769 /LUFA/Drivers
parentc10935c80b393172e0dc7295b150a26ef96d413e (diff)
downloadlufa-d5e84db5ab84d05d135d2522a419db65a4491628.tar.gz
lufa-d5e84db5ab84d05d135d2522a419db65a4491628.tar.bz2
lufa-d5e84db5ab84d05d135d2522a419db65a4491628.zip
Don't generate the full HTML documentation when only needing the XML version for post-processing.
Diffstat (limited to 'LUFA/Drivers')
-rw-r--r--LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h b/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h
index eb56bc796..c4864ab7e 100644
--- a/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h
+++ b/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h
@@ -172,6 +172,8 @@
* \param[in] DoubleSpeed Enables double speed mode when set, halving the sample time to double the baud rate.
*/
static inline void Serial_Init(const uint32_t BaudRate,
+ const bool DoubleSpeed);
+ static inline void Serial_Init(const uint32_t BaudRate,
const bool DoubleSpeed)
{
UBRR1 = (DoubleSpeed ? SERIAL_2X_UBBRVAL(BaudRate) : SERIAL_UBBRVAL(BaudRate));
@@ -185,6 +187,7 @@
}
/** Turns off the USART driver, disabling and returning used hardware to their default configuration. */
+ static inline void Serial_Disable(void);
static inline void Serial_Disable(void)
{
UCSR1B = 0;