Refrain from transmitting if duty cycle exceeded

This commit is contained in:
GUVWAF
2022-11-26 20:50:00 +01:00
parent dfec37dfd0
commit 3b1e34efa1
4 changed files with 30 additions and 0 deletions

View File

@@ -162,6 +162,7 @@ void NodeDB::installDefaultConfig()
config.has_network = true;
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.region = Config_LoRaConfig_RegionCode_UNSET;
config.lora.modem_preset = Config_LoRaConfig_ModemPreset_LONG_FAST;
config.lora.hop_limit = HOP_RELIABLE;