Skip to content

Commit 7966975

Browse files
committed
Remove unnecessary USART cfg gate
1 parent 64ad4c9 commit 7966975

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/serial.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -446,18 +446,6 @@ macro_rules! hal {
446446
}
447447
}
448448

449-
#[cfg(any(
450-
feature = "stm32f302",
451-
feature = "stm32f301",
452-
feature = "stm32f318",
453-
feature = "stm32f303",
454-
feature = "stm32f373",
455-
feature = "stm32f378",
456-
feature = "stm32f328",
457-
feature = "stm32f334",
458-
feature = "stm32f358",
459-
feature = "stm32f398"
460-
))]
461449
hal! {
462450
USART1: (usart1, APB2, usart1en, usart1rst, pclk2),
463451
USART2: (usart2, APB1, usart2en, usart2rst, pclk1),

0 commit comments

Comments
 (0)