fix default channel names (#1701)

This commit is contained in:
Andre K 2022-09-18 11:41:27 -03:00 committed by GitHub
parent 55c55fb705
commit 4bc29200be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,25 +215,25 @@ const char *Channels::getName(size_t chIndex)
else
switch (config.lora.modem_preset) {
case Config_LoRaConfig_ModemPreset_SHORT_SLOW:
channelName = "ShortS";
channelName = "ShortSlow";
break;
case Config_LoRaConfig_ModemPreset_SHORT_FAST:
channelName = "ShortF";
channelName = "ShortFast";
break;
case Config_LoRaConfig_ModemPreset_MEDIUM_SLOW:
channelName = "MedS";
channelName = "MediumSlow";
break;
case Config_LoRaConfig_ModemPreset_MEDIUM_FAST:
channelName = "MedF";
channelName = "MediumFast";
break;
case Config_LoRaConfig_ModemPreset_LONG_SLOW:
channelName = "LongS";
channelName = "LongFast";
break;
case Config_LoRaConfig_ModemPreset_LONG_FAST:
channelName = "LongF";
channelName = "LongSlow";
break;
case Config_LoRaConfig_ModemPreset_VERY_LONG_SLOW:
channelName = "VeryL";
channelName = "VLongSlow";
break;
default:
channelName = "Invalid";