diff options
| author | James Munns <[email protected]> | 2025-12-11 16:34:11 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-11 16:34:11 +0000 |
| commit | 9a12d8dd5be520f44536106743ba50adafcd2b80 (patch) | |
| tree | 7ca8137d64cb4f33158d998ecb02cfdac626ae90 /embassy-mcxa/src/lib.rs | |
| parent | 933eb5b63d0a479a99d95da9111500be35966f4b (diff) | |
| parent | c4855d254fdfa3f06583b0883f603fee0615bd41 (diff) | |
Merge pull request #5040 from jamesmunns/james/cleanup-reexports
[MCXA]: 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 7de5839be..22bc40e35 100644 --- a/embassy-mcxa/src/lib.rs +++ b/embassy-mcxa/src/lib.rs | |||
| @@ -20,6 +20,7 @@ pub mod ostimer; | |||
| 20 | pub mod reset_reason; | 20 | pub mod reset_reason; |
| 21 | pub mod rtc; | 21 | pub mod rtc; |
| 22 | 22 | ||
| 23 | use crate::interrupt::InterruptExt; | ||
| 23 | pub use crate::pac::NVIC_PRIO_BITS; | 24 | pub use crate::pac::NVIC_PRIO_BITS; |
| 24 | 25 | ||
| 25 | #[rustfmt::skip] | 26 | #[rustfmt::skip] |
| @@ -338,8 +339,6 @@ embassy_hal_internal::peripherals!( | |||
| 338 | // Use cortex-m-rt's #[interrupt] attribute directly; PAC does not re-export it. | 339 | // Use cortex-m-rt's #[interrupt] attribute directly; PAC does not re-export it. |
| 339 | 340 | ||
| 340 | // Re-export interrupt traits and types | 341 | // Re-export interrupt traits and types |
| 341 | pub use gpio::{AnyPin, Flex, Gpio as GpioToken, Input, Level, Output}; | ||
| 342 | pub use interrupt::InterruptExt; | ||
| 343 | #[cfg(feature = "unstable-pac")] | 342 | #[cfg(feature = "unstable-pac")] |
| 344 | pub use mcxa_pac as pac; | 343 | pub use mcxa_pac as pac; |
| 345 | #[cfg(not(feature = "unstable-pac"))] | 344 | #[cfg(not(feature = "unstable-pac"))] |
