From 1ed5696f767ea3e9f8f990394936fe0ed4ce3c58 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 12 Apr 2017 16:26:42 -0500 Subject: [PATCH] fix warning --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 2bffa1aeb2..1e2f59bf30 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,6 +8,7 @@ extern crate typenum; use core::cell::UnsafeCell; use core::marker::PhantomData; +#[cfg(not(thumbv6m))] use core::ops::Sub; use cortex_m::interrupt::Nr;