Fast fix, remove saving tx power inside limitPower() (#7255)

This commit is contained in:
Max
2025-07-07 07:50:13 -05:00
committed by GitHub
co-authored by GitHub
parent 09d4ee1ea7
commit f95c77b8bd
-4
View File
@@ -645,10 +645,6 @@ void RadioInterface::limitPower(int8_t loraMaxPower)
if (power > loraMaxPower) // Clamp power to maximum defined level
power = loraMaxPower;
if (TX_GAIN_LORA == 0) { // Setting power in config with defined TX_GAIN_LORA will cause decreasing power on each reboot
config.lora.tx_power = power; // Set limited power in config
}
LOG_INFO("Final Tx power: %d dBm", power);
}