summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-06-27 16:11:42 +0200
committerJF <jf@codingfield.com>2020-06-27 16:11:42 +0200
commit4f9adb2372a71bab3c38684420cf90b1a99a6c9a (patch)
tree0a943e544cdb60565af9a5d6bfe6e372299068cb
parentf8ffb405a23e02efd3b791730a3eb349e1d7efe4 (diff)
Re-enable watchdog
-rw-r--r--src/SystemTask/SystemTask.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SystemTask/SystemTask.cpp b/src/SystemTask/SystemTask.cpp
index df08c07f..61b3c638 100644
--- a/src/SystemTask/SystemTask.cpp
+++ b/src/SystemTask/SystemTask.cpp
@@ -48,8 +48,8 @@ void SystemTask::Process(void *instance) {
}
void SystemTask::Work() {
- //watchdog.Setup(7);
- //watchdog.Start();
+ watchdog.Setup(7);
+ watchdog.Start();
NRF_LOG_INFO("Last reset reason : %s", Pinetime::Drivers::Watchdog::ResetReasonToString(watchdog.ResetReason()));
APP_GPIOTE_INIT(2);