Re-enable watchdog

This commit is contained in:
JF 2020-06-27 16:11:42 +02:00
parent f8ffb405a2
commit 4f9adb2372

View File

@ -48,8 +48,8 @@ void SystemTask::Process(void *instance) {
} }
void SystemTask::Work() { void SystemTask::Work() {
//watchdog.Setup(7); watchdog.Setup(7);
//watchdog.Start(); watchdog.Start();
NRF_LOG_INFO("Last reset reason : %s", Pinetime::Drivers::Watchdog::ResetReasonToString(watchdog.ResetReason())); NRF_LOG_INFO("Last reset reason : %s", Pinetime::Drivers::Watchdog::ResetReasonToString(watchdog.ResetReason()));
APP_GPIOTE_INIT(2); APP_GPIOTE_INIT(2);