aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/wdt.rs
diff options
context:
space:
mode:
authorDion Dokter <[email protected]>2021-10-12 11:43:57 +0200
committerDion Dokter <[email protected]>2021-10-12 11:55:38 +0200
commit2c2c284482ee57595ad4eef542f4867f6f87bf12 (patch)
tree68a5fac20355ad7451a4e10d82f396573942e7f8 /embassy-nrf/src/wdt.rs
parent995cd01cbcb2470b9ecdd953daae0cfb3aaa2e99 (diff)
Undoing unnecessary changes
Diffstat (limited to 'embassy-nrf/src/wdt.rs')
-rw-r--r--embassy-nrf/src/wdt.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/embassy-nrf/src/wdt.rs b/embassy-nrf/src/wdt.rs
index 98ddd71af..eddfa7582 100644
--- a/embassy-nrf/src/wdt.rs
+++ b/embassy-nrf/src/wdt.rs
@@ -3,13 +3,7 @@
3//! This HAL implements a basic watchdog timer with 1..=8 handles. 3//! This HAL implements a basic watchdog timer with 1..=8 handles.
4//! Once the watchdog has been started, it cannot be stopped. 4//! Once the watchdog has been started, it cannot be stopped.
5 5
6use crate::pac; 6use crate::pac::WDT;
7
8#[cfg(not(feature = "nrf9160"))]
9pub(crate) use pac::WDT;
10#[cfg(feature = "nrf9160")]
11pub(crate) use pac::WDT_NS as WDT;
12
13use crate::peripherals; 7use crate::peripherals;
14 8
15const MIN_TICKS: u32 = 15; 9const MIN_TICKS: u32 = 15;