Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dotcypress committed Dec 16, 2024
1 parent 6d44314 commit 6912404
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/serial/usart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,12 @@ uart_full!(USART1, usart1, 1);
#[cfg(any(feature = "stm32g070", feature = "stm32g071", feature = "stm32g081"))]
uart_full!(USART2, usart2, 1);

#[cfg(any(feature = "stm32g030", feature = "stm32g031", feature = "stm32g041", feature = "stm32g0b1"))]
#[cfg(any(
feature = "stm32g030",
feature = "stm32g031",
feature = "stm32g041",
feature = "stm32g0b1"
))]
uart_basic!(USART2, usart2, 1);

#[cfg(any(feature = "stm32g070", feature = "stm32g071", feature = "stm32g081"))]
Expand Down

0 comments on commit 6912404

Please sign in to comment.