aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-06-05 20:57:17 -0500
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-06-05 20:57:17 -0500
commit984171edf6b077015cc4229693460b49198a32da (patch)
treed8a880871194642f0ce45d435410a5ce00e03d42 /src
parentb1e54883ac48e1a13df01648158eecd497f91d10 (diff)
downloadrtic-984171edf6b077015cc4229693460b49198a32da.tar.gz
rtic-984171edf6b077015cc4229693460b49198a32da.tar.zst
rtic-984171edf6b077015cc4229693460b49198a32da.zip
fix unused macro error
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 81078d4e..e325d27f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -445,6 +445,7 @@ pub use cortex_m::asm::{bkpt, wfi};
pub use cortex_m::peripheral::NVIC as _NVIC;
/// Compiler barrier
+#[cfg(not(thumbv6m))]
macro_rules! barrier {
() => {
asm!(""