aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-04-16 15:26:05 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-04-16 15:26:05 +0300
commit028e41fc21fecee05c8db707382db586b26e6537 (patch)
tree68184331b455c7581b4e591b1bcd9c77ba2a1532 /Software/Embedded_SW/Embedded/Common
parent9989868a8bb9cfc6759e7401218649458df1240f (diff)
parentf937e17452d6e89b67a675cd7139d84cbd7b0ee3 (diff)
downloadTango-028e41fc21fecee05c8db707382db586b26e6537.tar.gz
Tango-028e41fc21fecee05c8db707382db586b26e6537.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common')
-rw-r--r--Software/Embedded_SW/Embedded/Common/Utilities/Utils.c2
1 files changed, 2 insertions, 0 deletions
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);
//