Add an external watchdog module

This commit is contained in:
Quency-D committed 2026-01-22 15:03:40 +08:00
1 parent 5986f512c2
commit e902293246
10 files changed
+96 -3

No files matched your search

+7
View File
@@ -24,6 +24,10 @@ void setup() {
board.begin();
#ifdef HAS_EX_WATCHDOG
ex_watchdog.begin();
#endif
#ifdef DISPLAY_CLASS
if (display.begin()) {
display.startFrame();
@@ -111,4 +115,7 @@ void loop() {
ui_task.loop();
#endif
rtc_clock.tick();
#ifdef HAS_EX_WATCHDOG
ex_watchdog.loop();
#endif
}