Skip to content
Snippets Groups Projects
Commit 984171ed authored by Jorge Aparicio's avatar Jorge Aparicio
Browse files

fix unused macro error

parent b1e54883
No related branches found
No related tags found
No related merge requests found
...@@ -445,6 +445,7 @@ pub use cortex_m::asm::{bkpt, wfi}; ...@@ -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!(""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment