diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs index de697eac1..6bdd0c26b 100644 --- a/embassy-stm32/src/lib.rs +++ b/embassy-stm32/src/lib.rs @@ -12,7 +12,7 @@ pub mod fmt; use embassy::interrupt::{Interrupt, InterruptExt}; //pub(crate) use stm32_metapac as pac; -pub mod pac { +pub(crate) mod pac { pub use stm32_metapac::*; #[cfg(any(feature = "_syscfg_f4"))]