diff options
| author | James Munns <[email protected]> | 2025-12-11 16:19:50 +0100 |
|---|---|---|
| committer | James Munns <[email protected]> | 2025-12-11 16:19:50 +0100 |
| commit | c4855d254fdfa3f06583b0883f603fee0615bd41 (patch) | |
| tree | 83f9b68faa0a62ccfe30ff12a3caf032a8906d6f /embassy-mcxa/src/lib.rs | |
| parent | f650afc33b2d6b39116f27c6545c5f2d9e3c7d06 (diff) | |
Remove some unusual top level re-exports
Diffstat (limited to 'embassy-mcxa/src/lib.rs')
| -rw-r--r-- | embassy-mcxa/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/embassy-mcxa/src/lib.rs b/embassy-mcxa/src/lib.rs index be279e509..25791b164 100644 --- a/embassy-mcxa/src/lib.rs +++ b/embassy-mcxa/src/lib.rs | |||
| @@ -19,6 +19,7 @@ pub mod lpuart; | |||
| 19 | pub mod ostimer; | 19 | pub mod ostimer; |
| 20 | pub mod rtc; | 20 | pub mod rtc; |
| 21 | 21 | ||
| 22 | use crate::interrupt::InterruptExt; | ||
| 22 | pub use crate::pac::NVIC_PRIO_BITS; | 23 | pub use crate::pac::NVIC_PRIO_BITS; |
| 23 | 24 | ||
| 24 | #[rustfmt::skip] | 25 | #[rustfmt::skip] |
| @@ -337,8 +338,6 @@ embassy_hal_internal::peripherals!( | |||
| 337 | // Use cortex-m-rt's #[interrupt] attribute directly; PAC does not re-export it. | 338 | // Use cortex-m-rt's #[interrupt] attribute directly; PAC does not re-export it. |
| 338 | 339 | ||
| 339 | // Re-export interrupt traits and types | 340 | // Re-export interrupt traits and types |
| 340 | pub use gpio::{AnyPin, Flex, Gpio as GpioToken, Input, Level, Output}; | ||
| 341 | pub use interrupt::InterruptExt; | ||
| 342 | #[cfg(feature = "unstable-pac")] | 341 | #[cfg(feature = "unstable-pac")] |
| 343 | pub use mcxa_pac as pac; | 342 | pub use mcxa_pac as pac; |
| 344 | #[cfg(not(feature = "unstable-pac"))] | 343 | #[cfg(not(feature = "unstable-pac"))] |
