Merge pull request #1745 from meshtastic/compiler-warning

fix compiler warning
This commit is contained in:
Thomas Göttgens
2022-10-04 09:27:34 +02:00
committed by GitHub

View File

@@ -354,7 +354,6 @@ void RadioInterface::applyModemConfig()
// Set up default configuration
// No Sync Words in LORA mode
Config_LoRaConfig &loraConfig = config.lora;
auto channelSettings = channels.getPrimary();
if (loraConfig.spread_factor == 0) {
switch (loraConfig.modem_preset) {
case Config_LoRaConfig_ModemPreset_SHORT_FAST: