aboutsummaryrefslogtreecommitdiff
path: root/cc3200/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/main.c')
-rw-r--r--cc3200/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc3200/main.c b/cc3200/main.c
index f07479fdd..6f0ce3f1b 100644
--- a/cc3200/main.c
+++ b/cc3200/main.c
@@ -32,6 +32,7 @@
#include MICROPY_HAL_H
#include "mptask.h"
#include "simplelink.h"
+#include "pybwdt.h"
#include "debug.h"
/******************************************************************************
@@ -62,6 +63,9 @@ int main (void) {
// Initialize the clocks and the interrupt system
HAL_SystemInit();
+ // Start the watchdog
+ pybwdt_init0();
+
#ifdef DEBUG
ASSERT (OSI_OK == osi_TaskCreate(TASK_Micropython,
(const signed char *)"MicroPy",