mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-07-28 11:49:27 +00:00
Harden nRF52 persistence, watchdog, and build variants
This commit is contained in:
@@ -121,6 +121,9 @@ void setup() {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
#if defined(NRF52_PLATFORM)
|
||||
board.feedWatchdog(the_mesh.getNodePrefs()->system_watchdog_enabled != 0);
|
||||
#endif
|
||||
int len = strlen(command);
|
||||
while (Serial.available() && len < sizeof(command)-1) {
|
||||
char c = Serial.read();
|
||||
|
||||
Reference in New Issue
Block a user