aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f1/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f1/serial.c')
-rw-r--r--src/stm32f1/serial.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stm32f1/serial.c b/src/stm32f1/serial.c
index cfc5d04d..e1699334 100644
--- a/src/stm32f1/serial.c
+++ b/src/stm32f1/serial.c
@@ -17,7 +17,8 @@
void
serial_init(void)
{
- const uint32_t pclk = __LL_RCC_CALC_PCLK2_FREQ(SystemCoreClock, LL_RCC_GetAPB2Prescaler());
+ const uint32_t pclk = __LL_RCC_CALC_PCLK2_FREQ(SystemCoreClock
+ , LL_RCC_GetAPB2Prescaler());
LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_USART1);
LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_USART1);