switch defaults to sf7/cr5

This commit is contained in:
liquidraver
2026-08-22 11:54:52 +02:00
parent 24e9392cbf
commit 46a6b34bdd
7 changed files with 40 additions and 12 deletions
+2 -2
View File
@@ -54,9 +54,9 @@ void ObserverMesh::begin(RepeaterDataStore *store, struct ObserverCreds *creds)
/* Initialize prefs with observer-specific defaults */
initNodePrefs(&_prefs);
_prefs.cr = 5; /* CR 4/5 */
_prefs.cr = 5; /* CR 4/5 (same as initNodePrefs; kept explicit) */
_prefs.tx_power_dbm = 0; /* observer never TXes anyway */
/* freq=869.618, bw=62.5, sf=8 already set by initNodePrefs */
/* freq=869.618, bw=62.5, sf=7 already set by initNodePrefs */
/* First boot has to be detected BEFORE loadPrefs(): the store is shared
* with the repeater and its no-file branch re-runs initNodePrefs(), applies