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
Steven Cartmell 2018-01-08 15:17:45 +00:00 committed by Filip Jagodzinski
parent e7761a1d39
commit 2ab738fc66
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}