mirror of https://github.com/ARMmbed/mbed-os.git
Fix Watchdog::stop on K64F target
WDOG_Disable will suspend the watchdog until a reset is triggered instead of stopping it altogether. Deinit will disable it until it is reinitialized.pull/10657/head
parent
e7761a1d39
commit
2ab738fc66
|
@ -84,7 +84,7 @@ void hal_watchdog_kick(void)
|
|||
|
||||
watchdog_status_t hal_watchdog_stop(void)
|
||||
{
|
||||
WDOG_Disable(WDOG);
|
||||
WDOG_Deinit(WDOG);
|
||||
|
||||
return WATCHDOG_STATUS_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue