Add tx_power to userprefs (#10889)

This commit is contained in:
Jonathan Bennett
2026-07-05 16:04:04 -05:00
committed by GitHub
co-authored by GitHub
parent b50da75070
commit fe6bf91343
3 changed files with 8 additions and 0 deletions
+4
View File
@@ -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