aboutsummaryrefslogtreecommitdiff
path: root/cc3200/serverstask.c
diff options
context:
space:
mode:
authordanicampora2015-02-25 11:08:51 +0100
committerdanicampora2015-02-25 11:37:29 +0100
commit11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 (patch)
tree82591ae3cdf59ebeca2d4b8df8f129a201198f79 /cc3200/serverstask.c
parentfe2eb5f58a92c35e7c35da8853abb195fd30969a (diff)
cc3200: Add WDT functionality as part of the pyb module.
Also improve pybsd, and make it save it's pin configuration. This is a necessary step towards supporting the CC3200 low power deep sleep (LPDS) mode.
Diffstat (limited to 'cc3200/serverstask.c')
-rw-r--r--cc3200/serverstask.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc3200/serverstask.c b/cc3200/serverstask.c
index af28058fd..0c4bc9cbf 100644
--- a/cc3200/serverstask.c
+++ b/cc3200/serverstask.c
@@ -37,6 +37,7 @@
#include "mpexception.h"
#include "telnet.h"
#include "ftp.h"
+#include "pybwdt.h"
/******************************************************************************
@@ -119,6 +120,8 @@ void TASK_Servers (void *pvParameters) {
cycle = cycle ? false : true;
HAL_Delay(SERVERS_CYCLE_TIME_MS);
+ // set the alive flag for the wdt
+ pybwdt_srv_alive();
}
}