mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-04 03:18:10 +10:00
Add tx_power to userprefs (#10889)
This commit is contained in:
@@ -914,6 +914,10 @@ void NodeDB::installDefaultConfig(bool preserveKey = false)
|
||||
config.lora.region = meshtastic_Config_LoRaConfig_RegionCode_UNSET;
|
||||
#endif
|
||||
|
||||
#ifdef USERPREFS_LORACONFIG_TX_POWER
|
||||
config.lora.tx_power = USERPREFS_LORACONFIG_TX_POWER;
|
||||
#endif
|
||||
|
||||
#ifdef USERPREFS_LORACONFIG_MODEM_PRESET
|
||||
config.lora.modem_preset = USERPREFS_LORACONFIG_MODEM_PRESET;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user