Add an external watchdog module

This commit is contained in:
Quency-D 2026-01-22 15:03:40 +08:00
parent 7d1f52252b
commit c89a0e9929
10 changed files with 96 additions and 3 deletions

View file

@ -110,6 +110,10 @@ void setup() {
board.begin();
#ifdef HAS_EX_WATCHDOG
ex_watchdog.begin();
#endif
#ifdef DISPLAY_CLASS
DisplayDriver* disp = NULL;
if (display.begin()) {
@ -228,4 +232,7 @@ void loop() {
ui_task.loop();
#endif
rtc_clock.tick();
#ifdef HAS_EX_WATCHDOG
ex_watchdog.loop();
#endif
}