diff options
| author | Dion Dokter <[email protected]> | 2021-10-12 11:43:57 +0200 |
|---|---|---|
| committer | Dion Dokter <[email protected]> | 2021-10-12 11:55:38 +0200 |
| commit | 2c2c284482ee57595ad4eef542f4867f6f87bf12 (patch) | |
| tree | 68a5fac20355ad7451a4e10d82f396573942e7f8 /embassy-nrf/src/wdt.rs | |
| parent | 995cd01cbcb2470b9ecdd953daae0cfb3aaa2e99 (diff) | |
Undoing unnecessary changes
Diffstat (limited to 'embassy-nrf/src/wdt.rs')
| -rw-r--r-- | embassy-nrf/src/wdt.rs | 8 |
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 | ||
| 6 | use crate::pac; | 6 | use crate::pac::WDT; |
| 7 | |||
| 8 | #[cfg(not(feature = "nrf9160"))] | ||
| 9 | pub(crate) use pac::WDT; | ||
| 10 | #[cfg(feature = "nrf9160")] | ||
| 11 | pub(crate) use pac::WDT_NS as WDT; | ||
| 12 | |||
| 13 | use crate::peripherals; | 7 | use crate::peripherals; |
| 14 | 8 | ||
| 15 | const MIN_TICKS: u32 = 15; | 9 | const MIN_TICKS: u32 = 15; |
