Skip to content
Commit 319a8867 authored by Sebastian Głąb's avatar Sebastian Głąb Committed by Fabio Baltieri
Browse files

drivers: watchdog: wdt_nrfx.c: Unistall timeouts in wdt_disable()

According to API description, wdt_disable() shall
automatically uninstall all timeouts.
https://docs.zephyrproject.org/latest/hardware/peripherals/watchdog.html



Implement missing wdt_disable() functionality:
- disable WDT RR channels;
- remove callback from timeout channels;
- set data->m_allocated_channels to zero.

Signed-off-by: default avatarSebastian Głąb <sebastian.glab@nordicsemi.no>
parent 394e0974
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment