Add a new frequency range for EU SRD area with adaptive DC

This commit is contained in:
Thomas Göttgens
2025-11-19 12:38:34 +01:00
parent f9433a31d1
commit cd1cc032ed
7 changed files with 68 additions and 16 deletions

View File

@@ -793,7 +793,7 @@ void AdminModule::handleSetConfig(const meshtastic_Config &c)
}
config.lora.tx_enabled = true;
initRegion();
if (myRegion->dutyCycle < 100) {
if (getEffectiveDutyCycle() < 100) {
config.lora.ignore_mqtt = true; // Ignore MQTT by default if region has a duty cycle limit
}
// Compare the entire string, we are sure of the length as a topic has never been set