fix unused macro error

This commit is contained in:
Jorge Aparicio 2017-06-05 20:57:17 -05:00
parent b1e54883ac
commit 984171edf6

View file

@ -445,6 +445,7 @@ pub use cortex_m::asm::{bkpt, wfi};
pub use cortex_m::peripheral::NVIC as _NVIC; pub use cortex_m::peripheral::NVIC as _NVIC;
/// Compiler barrier /// Compiler barrier
#[cfg(not(thumbv6m))]
macro_rules! barrier { macro_rules! barrier {
() => { () => {
asm!("" asm!(""