This adds the ability to set the mode for the watchdog.
Previously the wdt mode was enforced to softreset the board.
Now we can also set it to trigger the WDT interrupt by calling watchdog.set_mode().
This PR closes #552
Please let me know if there is anything i need to change!
This adds the ability to set the mode for the watchdog.
Previously the wdt mode was enforced to softreset the board.
Now we can also set it to trigger the
WDT
interrupt by callingwatchdog.set_mode()
.This PR closes #552
Please let me know if there is anything i need to change!