mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
fix unused macro error
This commit is contained in:
parent
b1e54883ac
commit
984171edf6
1 changed files with 1 additions and 0 deletions
|
@ -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!(""
|
||||||
|
|
Loading…
Reference in a new issue