projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add double banking property to LUFA powered projects in the Projects directory. Add...
[pub/lufa.git]
/
LUFA
/
Drivers
/
Peripheral
/
Serial.h
diff --git
a/LUFA/Drivers/Peripheral/Serial.h
b/LUFA/Drivers/Peripheral/Serial.h
index
bde1449
..
4009331
100644
(file)
--- a/
LUFA/Drivers/Peripheral/Serial.h
+++ b/
LUFA/Drivers/Peripheral/Serial.h
@@
-68,12
+68,12
@@
/** Macro for calculating the baud value from a given baud rate when the U2X (double speed) bit is
\r
* not set.
\r
*/
\r
/** Macro for calculating the baud value from a given baud rate when the U2X (double speed) bit is
\r
* not set.
\r
*/
\r
- #define SERIAL_UBBRVAL(baud) (((F_CPU / 16) /
baud
) - 1)
\r
+ #define SERIAL_UBBRVAL(baud) (((F_CPU / 16) /
(baud)
) - 1)
\r
\r
/** Macro for calculating the baud value from a given baud rate when the U2X (double speed) bit is
\r
* set.
\r
*/
\r
\r
/** Macro for calculating the baud value from a given baud rate when the U2X (double speed) bit is
\r
* set.
\r
*/
\r
- #define SERIAL_2X_UBBRVAL(baud) (((F_CPU / 8) /
baud
) - 1)
\r
+ #define SERIAL_2X_UBBRVAL(baud) (((F_CPU / 8) /
(baud)
) - 1)
\r
\r
/* Pseudo-Function Macros: */
\r
#if defined(__DOXYGEN__)
\r
\r
/* Pseudo-Function Macros: */
\r
#if defined(__DOXYGEN__)
\r