mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-10-22 18:51:16 +00:00
Harden nRF52 persistence, watchdog, and build variants
This commit is contained in:
1 parent
cd0c06dc91
commit
d5a00da2a0
25 files changed
+825
-76
No files matched your search
@@ -148,6 +148,9 @@ void setup() {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
#if defined(NRF52_PLATFORM)
|
||||
board.feedWatchdog(the_mesh.getNodePrefs()->system_watchdog_enabled != 0);
|
||||
#endif
|
||||
// Handle Serial CLI
|
||||
int len = strlen(command);
|
||||
while (Serial.available() && len < sizeof(command)-1) {
|
||||
|
||||
Reference in new issue
Block a user