summaryrefslogtreecommitdiff
path: root/nrf-softdevice/src/critical_section_impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'nrf-softdevice/src/critical_section_impl.rs')
-rw-r--r--nrf-softdevice/src/critical_section_impl.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/nrf-softdevice/src/critical_section_impl.rs b/nrf-softdevice/src/critical_section_impl.rs
index 828e102..59f9445 100644
--- a/nrf-softdevice/src/critical_section_impl.rs
+++ b/nrf-softdevice/src/critical_section_impl.rs
@@ -1,7 +1,8 @@
-use crate::pac::{Interrupt, NVIC};
use core::arch::asm;
use core::sync::atomic::{compiler_fence, AtomicBool, Ordering};
+use crate::pac::{Interrupt, NVIC};
+
#[cfg(any(feature = "nrf52810", feature = "nrf52811"))]
const RESERVED_IRQS: u32 = (1 << (Interrupt::POWER_CLOCK as u8))
| (1 << (Interrupt::RADIO as u8))