Skip to content

Commit 89d4ea0

Browse files
committed
disable stm32f413 uart4
1 parent fa0b7e4 commit 89d4ea0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/serial.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -785,9 +785,9 @@ halUart! { pac::UART4, Serial4, Rx4, Tx4 }
785785
#[cfg(not(any(feature = "stm32f413", feature = "stm32f423")))]
786786
halUart! { pac::UART5, Serial5, Rx5, Tx5 }
787787

788-
#[cfg(feature = "uart4")]
789-
#[cfg(any(feature = "stm32f413", feature = "stm32f423"))]
790-
halUsart! { pac::UART4, Serial4, Rx4, Tx4 }
788+
//#[cfg(feature = "uart4")]
789+
//#[cfg(any(feature = "stm32f413", feature = "stm32f423"))]
790+
//halUsart! { pac::UART4, Serial4, Rx4, Tx4 }
791791
#[cfg(feature = "uart5")]
792792
#[cfg(any(feature = "stm32f413", feature = "stm32f423"))]
793793
halUsart! { pac::UART5, Serial5, Rx5, Tx5 }

0 commit comments

Comments
 (0)