summaryrefslogtreecommitdiff
path: root/firmware/src/os/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/src/os/main.c')
-rw-r--r--firmware/src/os/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/src/os/main.c b/firmware/src/os/main.c
index 0cc9d99..968f6ad 100644
--- a/firmware/src/os/main.c
+++ b/firmware/src/os/main.c
@@ -78,7 +78,9 @@ int main(void)
/* Call application specific main idle function */
_main_func();
dbgu_rb_flush();
- //wdt_restart();
+
+ /* restart watchdog timer */
+ wdt_restart();
#ifdef CONFIG_IDLE
//cpu_idle();
#endif
personal git repositories of Harald Welte. Your mileage may vary