diff options
author | Daniel Campora <daniel@wipy.io> | 2015-08-09 18:54:29 +0200 |
---|---|---|
committer | Daniel Campora <daniel@wipy.io> | 2015-08-09 22:15:18 +0200 |
commit | 2673374d18c529800a4c89dc0a9d66c5b9dafb54 (patch) | |
tree | 42903b4a63e0d186c38133560132f042e5627f9c /cc3200/misc/mperror.c | |
parent | 651c870d77fdb34b50d74a4388bdc364d3b7a42e (diff) | |
download | micropython-2673374d18c529800a4c89dc0a9d66c5b9dafb54.tar.gz micropython-2673374d18c529800a4c89dc0a9d66c5b9dafb54.zip |
cc3200: Refactor PRCM special user bits implementation.
Diffstat (limited to 'cc3200/misc/mperror.c')
-rw-r--r-- | cc3200/misc/mperror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/misc/mperror.c b/cc3200/misc/mperror.c index cf2a1c8c1e..d1e9f46fb5 100644 --- a/cc3200/misc/mperror.c +++ b/cc3200/misc/mperror.c @@ -115,7 +115,7 @@ void mperror_bootloader_check_reset_cause (void) { // since the reset cause will be changed, we must store the right reason // so that the application knows it when booting for the next time - PRCMSignalWDTReset(); + PRCMSetSpecialBit(PRCM_WDT_RESET_BIT); MAP_PRCMHibernateWakeupSourceEnable(PRCM_HIB_SLOW_CLK_CTR); // set the sleep interval to 10ms |