mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-22 04:54:47 +00:00
When we init default, set use_preset to true (#1843)
This commit is contained in:
parent
f05e0f3a81
commit
2c1bbf1ac6
@ -79,7 +79,7 @@ void Channels::initDefaultChannel(ChannelIndex chIndex)
|
||||
Config_LoRaConfig &loraConfig = config.lora;
|
||||
|
||||
loraConfig.modem_preset = Config_LoRaConfig_ModemPreset_LONG_FAST; // Default to Long Range & Fast
|
||||
|
||||
loraConfig.use_preset = true;
|
||||
loraConfig.tx_power = 0; // default
|
||||
uint8_t defaultpskIndex = 1;
|
||||
channelSettings.psk.bytes[0] = defaultpskIndex;
|
||||
|
Loading…
Reference in New Issue
Block a user