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
commit 054b12325d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: