summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-08-12 22:23:13 +0200
committerDaniel Campora <daniel@wipy.io>2015-08-16 20:18:11 +0200
commitc0c07fb1b6422bd4c365342acaf65bd4887bcef7 (patch)
tree02afcb5d82c0721c0fccc449c8167f79e2f2c160
parentaa8e8acb7d2a4dc2b96912ce88c7a03e683bb9d7 (diff)
downloadmicropython-c0c07fb1b6422bd4c365342acaf65bd4887bcef7.tar.gz
micropython-c0c07fb1b6422bd4c365342acaf65bd4887bcef7.zip
cc3200: Don't clear the WDT special bit in the bootloader.
-rw-r--r--cc3200/bootmgr/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/bootmgr/main.c b/cc3200/bootmgr/main.c
index 0115772fd6..0f3e68de3d 100644
--- a/cc3200/bootmgr/main.c
+++ b/cc3200/bootmgr/main.c
@@ -158,8 +158,8 @@ static void bootmgr_board_init(void) {
PRCMCC3200MCUInit();
// clear all the special bits, since we can't trust their content after reset
+ // except for the WDT reset one!!
PRCMClearSpecialBit(PRCM_SAFE_BOOT_BIT);
- PRCMClearSpecialBit(PRCM_WDT_RESET_BIT);
PRCMClearSpecialBit(PRCM_FIRST_BOOT_BIT);
// check the reset after clearing the special bits