aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/peripheral/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/peripheral/mod.rs b/src/peripheral/mod.rs
index 6aacb73..8d2bd3f 100644
--- a/src/peripheral/mod.rs
+++ b/src/peripheral/mod.rs
@@ -167,8 +167,6 @@ impl Peripherals {
/// Unchecked version of `Peripherals::take`
pub unsafe fn steal() -> Self {
- debug_assert!(!CORE_PERIPHERALS);
-
CORE_PERIPHERALS = true;
Peripherals {