aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32/platform.c')
-rw-r--r--src/stm32/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/platform.c b/src/stm32/platform.c
index 4dd6137..ba784c9 100644
--- a/src/stm32/platform.c
+++ b/src/stm32/platform.c
@@ -193,7 +193,7 @@ void uart_init(void)
GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO9);
/* Setup UART parameters. */
- usart_set_baudrate(USART1, 38400, rcc_ppre2_frequency);
+ usart_set_baudrate(USART1, 38400);
usart_set_databits(USART1, 8);
usart_set_stopbits(USART1, USART_STOPBITS_1);
usart_set_mode(USART1, USART_MODE_TX_RX);