mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-04 04:40:50 +00:00
Merge pull request #1745 from meshtastic/compiler-warning
fix compiler warning
This commit is contained in:
commit
054b12325d
@ -354,7 +354,6 @@ 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;
|
||||||
auto channelSettings = channels.getPrimary();
|
|
||||||
if (loraConfig.spread_factor == 0) {
|
if (loraConfig.spread_factor == 0) {
|
||||||
switch (loraConfig.modem_preset) {
|
switch (loraConfig.modem_preset) {
|
||||||
case Config_LoRaConfig_ModemPreset_SHORT_FAST:
|
case Config_LoRaConfig_ModemPreset_SHORT_FAST:
|
||||||
|
Loading…
Reference in New Issue
Block a user