aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2017-04-20 10:56:33 -0500
committerJorge Aparicio <jorge@japaric.io>2017-04-20 10:56:33 -0500
commit0a6583ddc6909215e5db10e8df9da48cc7bffe1a (patch)
tree9eb360e590e02a6d27c37d2699c8253ed067f3dc
parent4e6818eb2cd396dde39f05bd85628326b0492fe9 (diff)
fix warning on thumbv6m-none-eabi
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 06efd51..8e276e6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -18,9 +18,9 @@ use cortex_m::interrupt::Nr;
#[cfg(not(thumbv6m))]
use cortex_m::register::{basepri, basepri_max};
use static_ref::Ref;
-use typenum::{Cmp, Unsigned};
+use typenum::Unsigned;
#[cfg(not(thumbv6m))]
-use typenum::{Greater, Less};
+use typenum::{Cmp, Greater, Less};
pub use cortex_m::ctxt::Local;
pub use cortex_m::asm::{bkpt, wfi};