* added prefs initialisers to match original zeroed state

This commit is contained in:
Scott Powell
2026-07-18 19:22:53 +10:00
parent d9f1e12b21
commit 2189f2294c
3 changed files with 71 additions and 62 deletions
-1
View File
@@ -876,7 +876,6 @@ MyMesh::MyMesh(mesh::Radio &radio, mesh::RNG &rng, mesh::RTCClock &rtc, SimpleMe
send_unscoped = false;
// defaults
//memset(&_prefs, 0, sizeof(_prefs));
_prefs.airtime_factor = 1.0;
strcpy(_prefs.node_name, "NONAME");
_prefs.freq = LORA_FREQ;