aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/usart.c
diff options
context:
space:
mode:
authorUwe Hermann2011-11-16 19:13:21 +0100
committerUwe Hermann2011-11-17 00:09:26 +0100
commit6e7403f76943f97089e741100b32c2f0a4795a97 (patch)
tree16c585dcc8fe27663079f2823cdeb9e9b48718a5 /lib/stm32/usart.c
parentbb8741a79bba96416b0454d4a97060866fa3a3a1 (diff)
lib/stm32/*.c: Coding-style fixes.
Diffstat (limited to 'lib/stm32/usart.c')
-rw-r--r--lib/stm32/usart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stm32/usart.c b/lib/stm32/usart.c
index 116b159..b97422e 100644
--- a/lib/stm32/usart.c
+++ b/lib/stm32/usart.c
@@ -33,7 +33,7 @@ void usart_set_baudrate(u32 usart, u32 baud, u32 clock)
* simple divider to generate the correct baudrate. >_< If I
* am wrong feel free to correct me on that. :) (esden)
*/
- USART_BRR(usart) = clock/baud;
+ USART_BRR(usart) = clock / baud;
}
void usart_set_databits(u32 usart, u32 bits)