mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-09 11:25:35 +00:00
switch defaults to sf7/cr5
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user