aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/src/os/main.c
diff options
context:
space:
mode:
authormeri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-04-10 17:46:11 +0000
committermeri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-04-10 17:46:11 +0000
commit98f3bcf710fccafb0cc8a4abc43cfc92636ddb07 (patch)
tree48981c5d64ebfd27757ec12976e96b733130e32f /firmware/src/os/main.c
parent5dec22afd1553b294f9965570cb08bcad851faf8 (diff)
added watchdog time support and debouncing on power-cycle
git-svn-id: https://svn.openpcd.org:2342/trunk@297 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
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