sx126x-rx-boosted-gain: add support for setting Rx gain mode on SX126x chipsets

This commit is contained in:
Andrew Moroz
2023-01-16 23:35:56 -05:00
parent cc0cccbd1b
commit 0a2539650e
3 changed files with 11 additions and 1 deletions

View File

@@ -162,6 +162,7 @@ void NodeDB::installDefaultConfig()
config.has_bluetooth = true;
config.lora.tx_enabled = true; // FIXME: maybe false in the future, and setting region to enable it. (unset region forces it off)
config.lora.override_duty_cycle = false;
config.lora.sx126x_rx_boosted_gain = false;
config.lora.region = Config_LoRaConfig_RegionCode_UNSET;
config.lora.modem_preset = Config_LoRaConfig_ModemPreset_LONG_FAST;
config.lora.hop_limit = HOP_RELIABLE;