summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/main.c
diff options
context:
space:
mode:
authordanicampora <danicampora@gmail.com>2015-02-25 22:38:33 +0100
committerdanicampora <danicampora@gmail.com>2015-02-25 23:17:17 +0100
commit7a074a14ced0c9ea890793aa7dc43c896cfdf9b9 (patch)
tree02fee25f9d1375cde648ff82c87d0d0eacd2610e /cc3200/main.c
parent8a5aee103d0741efbbcf3fa7d0d0b3d2100eddb2 (diff)
downloadmicropython-7a074a14ced0c9ea890793aa7dc43c896cfdf9b9.tar.gz
micropython-7a074a14ced0c9ea890793aa7dc43c896cfdf9b9.zip
cc3200: Implement safe boot pin and system led behaviour.
The safe boot pin, when pulled high during reset rolls back the firmware to the "factory" image and skips execution of 'boot.py' and 'main.py'. This is useful to recover from a crash condition. The system led is used mostly to signal errors.
Diffstat (limited to 'cc3200/main.c')
-rw-r--r--cc3200/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/main.c b/cc3200/main.c
index 6f0ce3f1b6..24a42c5247 100644
--- a/cc3200/main.c
+++ b/cc3200/main.c
@@ -63,7 +63,7 @@ int main (void) {
// Initialize the clocks and the interrupt system
HAL_SystemInit();
- // Start the watchdog
+ // Init the watchdog
pybwdt_init0();
#ifdef DEBUG