fix warning on thumbv6m-none-eabi

This commit is contained in:
Jorge Aparicio 2017-04-20 10:56:33 -05:00
parent 4e6818eb2c
commit 0a6583ddc6

View file

@ -18,9 +18,9 @@ use cortex_m::interrupt::Nr;
#[cfg(not(thumbv6m))] #[cfg(not(thumbv6m))]
use cortex_m::register::{basepri, basepri_max}; use cortex_m::register::{basepri, basepri_max};
use static_ref::Ref; use static_ref::Ref;
use typenum::{Cmp, Unsigned}; use typenum::Unsigned;
#[cfg(not(thumbv6m))] #[cfg(not(thumbv6m))]
use typenum::{Greater, Less}; use typenum::{Cmp, Greater, Less};
pub use cortex_m::ctxt::Local; pub use cortex_m::ctxt::Local;
pub use cortex_m::asm::{bkpt, wfi}; pub use cortex_m::asm::{bkpt, wfi};