repeater housekeeping bugfix

This commit is contained in:
liquidraver
2026-04-24 14:30:07 +02:00
parent 1dde69c653
commit 37eb87efd6
6 changed files with 73 additions and 16 deletions
+4
View File
@@ -137,6 +137,10 @@ bool RepeaterDataStore::loadPrefs(NodePrefs& prefs) {
prefs.flood_advert_interval = 25;
prefs.loop_detect = LOOP_DETECT_MINIMAL;
prefs.path_hash_mode = 1;
/* Persist defaults so flash always has a prefs file from boot 1.
* Lets later code (e.g. tempradio revert) trust that flash is
* authoritative without a "first run" special case. */
savePrefs(prefs);
return true;
}