mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-30 19:29:17 +00:00
Merge pull request #1531 from meshtastic/patch-1
Small fixes and inprovements
This commit is contained in:
commit
41d5ccc29f
@ -142,10 +142,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
// Disable use of the NTP library and related features
|
// Disable use of the NTP library and related features
|
||||||
//#define DISABLE_NTP
|
// #define DISABLE_NTP
|
||||||
|
|
||||||
// Disable the welcome screen and allow
|
// Disable the welcome screen and allow
|
||||||
#define DISABLE_WELCOME_UNSET
|
// #define DISABLE_WELCOME_UNSET
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// OLED & Input
|
// OLED & Input
|
||||||
|
@ -1531,10 +1531,10 @@ void DebugInfo::drawFrameSettings(OLEDDisplay *display, OLEDDisplayUiState *stat
|
|||||||
case Config_LoRaConfig_ModemPreset_MedFast:
|
case Config_LoRaConfig_ModemPreset_MedFast:
|
||||||
mode = "MedF";
|
mode = "MedF";
|
||||||
break;
|
break;
|
||||||
case Config_LoRaConfig_ModemPreset_LongFast:
|
case Config_LoRaConfig_ModemPreset_LongSlow:
|
||||||
mode = "LongS";
|
mode = "LongS";
|
||||||
break;
|
break;
|
||||||
case Config_LoRaConfig_ModemPreset_LongSlow:
|
case Config_LoRaConfig_ModemPreset_LongFast:
|
||||||
mode = "LongF";
|
mode = "LongF";
|
||||||
break;
|
break;
|
||||||
case Config_LoRaConfig_ModemPreset_VLongSlow:
|
case Config_LoRaConfig_ModemPreset_VLongSlow:
|
||||||
|
@ -211,7 +211,7 @@ const char *Channels::getName(size_t chIndex)
|
|||||||
// the app fucked up and forgot to set channelSettings.name
|
// the app fucked up and forgot to set channelSettings.name
|
||||||
|
|
||||||
if (config.lora.bandwidth != 0)
|
if (config.lora.bandwidth != 0)
|
||||||
channelName = "Unset";
|
channelName = "Custom";
|
||||||
else
|
else
|
||||||
switch (config.lora.modem_preset) {
|
switch (config.lora.modem_preset) {
|
||||||
case Config_LoRaConfig_ModemPreset_ShortSlow:
|
case Config_LoRaConfig_ModemPreset_ShortSlow:
|
||||||
@ -226,10 +226,10 @@ const char *Channels::getName(size_t chIndex)
|
|||||||
case Config_LoRaConfig_ModemPreset_MedFast:
|
case Config_LoRaConfig_ModemPreset_MedFast:
|
||||||
channelName = "MedF";
|
channelName = "MedF";
|
||||||
break;
|
break;
|
||||||
case Config_LoRaConfig_ModemPreset_LongFast:
|
case Config_LoRaConfig_ModemPreset_LongSlow:
|
||||||
channelName = "LongS";
|
channelName = "LongS";
|
||||||
break;
|
break;
|
||||||
case Config_LoRaConfig_ModemPreset_LongSlow:
|
case Config_LoRaConfig_ModemPreset_LongFast:
|
||||||
channelName = "LongF";
|
channelName = "LongF";
|
||||||
break;
|
break;
|
||||||
case Config_LoRaConfig_ModemPreset_VLongSlow:
|
case Config_LoRaConfig_ModemPreset_VLongSlow:
|
||||||
|
Loading…
Reference in New Issue
Block a user