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

This commit is contained in:
Max
2025-07-07 15:50:13 +03:00
committed by GitHub
parent 09d4ee1ea7
commit f95c77b8bd

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);
}