aboutsummaryrefslogtreecommitdiffstats
path: root/src/SystemTask
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-04-27 20:46:25 +0200
committerJF <jf@codingfield.com>2020-04-27 20:46:25 +0200
commit833c53424a211f34774fa210be3eb96ad4f35210 (patch)
tree63b005877470e1bdf9e90f0288e3972f523feb0a /src/SystemTask
parent746c164c593d2b9aa63a0f9a1c1ad032de9627a0 (diff)
Re-enable watchdog
Diffstat (limited to 'src/SystemTask')
-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 6516f68b..fc37ecb2 100644
--- a/src/SystemTask/SystemTask.cpp
+++ b/src/SystemTask/SystemTask.cpp
@@ -38,8 +38,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);