Re-enable watchdog
This commit is contained in:
parent
f8ffb405a2
commit
4f9adb2372
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue