mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
re-export Local and wfi from cortex-m
make Context private
This commit is contained in:
parent
1ed5696f76
commit
692ad81ad8
1 changed files with 4 additions and 1 deletions
|
@ -11,6 +11,7 @@ use core::marker::PhantomData;
|
|||
#[cfg(not(thumbv6m))]
|
||||
use core::ops::Sub;
|
||||
|
||||
use cortex_m::ctxt::Context;
|
||||
use cortex_m::interrupt::Nr;
|
||||
#[cfg(not(thumbv6m))]
|
||||
use cortex_m::register::{basepri, basepri_max};
|
||||
|
@ -18,7 +19,9 @@ use typenum::{Cmp, Equal, Unsigned};
|
|||
#[cfg(not(thumbv6m))]
|
||||
use typenum::{B1, Greater, Less, Sub1};
|
||||
|
||||
pub use cortex_m::ctxt::{Context, Local};
|
||||
pub use cortex_m::ctxt::Local;
|
||||
pub use cortex_m::asm::wfi;
|
||||
|
||||
#[doc(hidden)]
|
||||
pub use cortex_m::peripheral::NVIC;
|
||||
#[doc(hidden)]
|
||||
|
|
Loading…
Reference in a new issue