diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/nrf/src/bin/wdt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nrf/src/bin/wdt.rs b/examples/nrf/src/bin/wdt.rs index 53df7b0b7..eaa0b5ee1 100644 --- a/examples/nrf/src/bin/wdt.rs +++ b/examples/nrf/src/bin/wdt.rs | |||
| @@ -25,7 +25,7 @@ async fn main(_spawner: Spawner, p: Peripherals) { | |||
| 25 | // in the WDT interrupt. The core resets 2 ticks after firing the interrupt. | 25 | // in the WDT interrupt. The core resets 2 ticks after firing the interrupt. |
| 26 | config.run_during_debug_halt = false; | 26 | config.run_during_debug_halt = false; |
| 27 | 27 | ||
| 28 | let (_wdt, [mut handle]) = match Watchdog::try_new::<1>(p.WDT, config) { | 28 | let (_wdt, [mut handle]) = match Watchdog::try_new(p.WDT, config) { |
| 29 | Ok(x) => x, | 29 | Ok(x) => x, |
| 30 | Err(_) => { | 30 | Err(_) => { |
| 31 | info!("Watchdog already active with wrong config, waiting for it to timeout..."); | 31 | info!("Watchdog already active with wrong config, waiting for it to timeout..."); |
