Merge branch 'master' into techo-shutdown-backlight

This commit is contained in:
Ben Meadors
2022-10-27 20:17:31 -05:00
committed by GitHub

View File

@@ -218,7 +218,7 @@ const char *Channels::getName(size_t chIndex)
// Per mesh.proto spec, if bandwidth is specified we must ignore modemPreset enum, we assume that in that case
// the app fucked up and forgot to set channelSettings.name
if (config.lora.bandwidth != 0)
if (config.lora.use_preset)
channelName = "Custom";
else
switch (config.lora.modem_preset) {