mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-10-22 13:11:44 +00:00
Add an external watchdog module
This commit is contained in:
1 parent
7d1f52252b
commit
c89a0e9929
10 files changed
+96
-3
No files matched your search
@@ -559,6 +559,10 @@ void setup() {
|
||||
|
||||
board.begin();
|
||||
|
||||
#ifdef HAS_EX_WATCHDOG
|
||||
ex_watchdog.begin();
|
||||
#endif
|
||||
|
||||
if (!radio_init()) { halt(); }
|
||||
|
||||
fast_rng.begin(radio_get_rng_seed());
|
||||
@@ -588,4 +592,7 @@ void setup() {
|
||||
void loop() {
|
||||
the_mesh.loop();
|
||||
rtc_clock.tick();
|
||||
#ifdef HAS_EX_WATCHDOG
|
||||
ex_watchdog.loop();
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user