mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-29 15:46:46 +00:00
Fix build failure in ci, add missing argument
This commit is contained in:
parent
4ac99c5df1
commit
43078a40eb
@ -428,7 +428,8 @@ bool Channels::setDefaultPresetCryptoForHash(ChannelHash channelHash)
|
|||||||
// Iterate all known presets
|
// Iterate all known presets
|
||||||
for (int preset = _meshtastic_Config_LoRaConfig_ModemPreset_MIN; preset <= _meshtastic_Config_LoRaConfig_ModemPreset_MAX;
|
for (int preset = _meshtastic_Config_LoRaConfig_ModemPreset_MIN; preset <= _meshtastic_Config_LoRaConfig_ModemPreset_MAX;
|
||||||
++preset) {
|
++preset) {
|
||||||
const char *name = DisplayFormatters::getModemPresetDisplayName((meshtastic_Config_LoRaConfig_ModemPreset)preset, false);
|
const char *name =
|
||||||
|
DisplayFormatters::getModemPresetDisplayName((meshtastic_Config_LoRaConfig_ModemPreset)preset, false, true);
|
||||||
if (!name)
|
if (!name)
|
||||||
continue;
|
continue;
|
||||||
if (strcmp(name, "Invalid") == 0)
|
if (strcmp(name, "Invalid") == 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user