sforkowany z mirror/meshtastic-firmware
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)raytac-diy
rodzic
2c1bbf1ac6
commit
568434d0fa
|
@ -361,7 +361,7 @@ void RadioInterface::applyModemConfig()
|
||||||
// Set up default configuration
|
// Set up default configuration
|
||||||
// No Sync Words in LORA mode
|
// No Sync Words in LORA mode
|
||||||
Config_LoRaConfig &loraConfig = config.lora;
|
Config_LoRaConfig &loraConfig = config.lora;
|
||||||
if (loraConfig.spread_factor == 0) {
|
if (loraConfig.use_preset) {
|
||||||
|
|
||||||
switch (loraConfig.modem_preset) {
|
switch (loraConfig.modem_preset) {
|
||||||
case Config_LoRaConfig_ModemPreset_SHORT_FAST:
|
case Config_LoRaConfig_ModemPreset_SHORT_FAST:
|
||||||
|
|
Ładowanie…
Reference in New Issue