Skip to content

Commit 5684aaa

Browse files
sprhawkteskje
authored andcommitted
fix clock for usart4/5
1 parent 233e887 commit 5684aaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/serial.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,6 @@ hal! {
477477
feature = "stm32f398"
478478
))]
479479
hal! {
480-
USART4: (usart4, APB1, usart4en, usart4rst, pclk2),
481-
USART5: (usart5, APB1, usart5en, usart5rst, pclk2),
480+
USART4: (usart4, APB1, usart4en, usart4rst, pclk1),
481+
USART5: (usart5, APB1, usart5en, usart5rst, pclk1),
482482
}

0 commit comments

Comments
 (0)