aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/peripheral/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/peripheral/mod.rs b/src/peripheral/mod.rs
index d1dfb6a..56b663e 100644
--- a/src/peripheral/mod.rs
+++ b/src/peripheral/mod.rs
@@ -59,8 +59,6 @@
use core::marker::PhantomData;
use core::ops;
-
-#[cfg(cortex_m)]
use crate::interrupt;
#[cfg(cm7)]
@@ -164,7 +162,6 @@ static mut TAKEN: bool = false;
impl Peripherals {
/// Returns all the core peripherals *once*
- #[cfg(cortex_m)]
#[inline]
pub fn take() -> Option<Self> {
interrupt::free(|_| {