* added prefs initialisers to match original zeroed state

This commit is contained in:
Scott Powell committed 2026-07-18 19:22:53 +10:00
1 parent dae73ac971
commit 10434a1cfd
3 files changed
+71 -62

No files matched your search

-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;