From 80c89babe4608fc702c67d6253c233c970a93f94 Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Tue, 16 Apr 2019 00:04:30 +0300 Subject: watchdog 2nd trial, still not good --- Software/Embedded_SW/Embedded/Common/Utilities/Utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Software/Embedded_SW/Embedded/Common') diff --git a/Software/Embedded_SW/Embedded/Common/Utilities/Utils.c b/Software/Embedded_SW/Embedded/Common/Utilities/Utils.c index 9cdb3c6bd..542ea659a 100644 --- a/Software/Embedded_SW/Embedded/Common/Utilities/Utils.c +++ b/Software/Embedded_SW/Embedded/Common/Utilities/Utils.c @@ -96,6 +96,8 @@ void InitWatchdog(uint32_t clock) // // Enable the watchdog interrupt. // + MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_WDOG0); + ROM_WatchdogIntClear(WATCHDOG0_BASE); ROM_IntEnable(INT_WATCHDOG); // -- cgit v1.3.1