Add 60s watchdog for nrf52

In order to restore after battery voltage sags too low
This commit is contained in:
Wessel Nieboer 2026-03-12 14:41:20 +01:00 committed by Wessel Nieboer
parent fb726e48c2
commit f46f822bfc
No known key found for this signature in database
GPG key ID: 27BB1C3D63DEEFFF
14 changed files with 128 additions and 9 deletions

View file

@ -223,6 +223,7 @@ void setup() {
}
void loop() {
board.loop();
the_mesh.loop();
sensors.loop();
#ifdef DISPLAY_CLASS

View file

@ -119,6 +119,7 @@ void setup() {
}
void loop() {
board.loop();
modem->loop();
if (!modem->isActuallyTransmitting()) {

View file

@ -106,6 +106,8 @@ void setup() {
}
void loop() {
board.loop();
int len = strlen(command);
while (Serial.available() && len < sizeof(command)-1) {
char c = Serial.read();

View file

@ -83,6 +83,8 @@ void setup() {
}
void loop() {
board.loop();
int len = strlen(command);
while (Serial.available() && len < sizeof(command)-1) {
char c = Serial.read();

View file

@ -589,6 +589,7 @@ void setup() {
}
void loop() {
board.loop();
the_mesh.loop();
rtc_clock.tick();
}

View file

@ -117,6 +117,8 @@ void setup() {
}
void loop() {
board.loop();
int len = strlen(command);
while (Serial.available() && len < sizeof(command)-1) {
char c = Serial.read();