mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 17:13:38 +00:00
Use preset wiring (#1845)
* When we init default, set use_preset to true * Only use modem_preset when we use_preset * When we init default, set use_preset to true (#1843) (#1844)
This commit is contained in:
parent
2c1bbf1ac6
commit
568434d0fa
@ -361,7 +361,7 @@ void RadioInterface::applyModemConfig()
|
||||
// Set up default configuration
|
||||
// No Sync Words in LORA mode
|
||||
Config_LoRaConfig &loraConfig = config.lora;
|
||||
if (loraConfig.spread_factor == 0) {
|
||||
if (loraConfig.use_preset) {
|
||||
|
||||
switch (loraConfig.modem_preset) {
|
||||
case Config_LoRaConfig_ModemPreset_SHORT_FAST:
|
||||
|
Loading…
Reference in New Issue
Block a user