aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/usart.c
diff options
context:
space:
mode:
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)