Log TX power after limits applyng and store it in config (#7065)

* Log and save in config lora tx_power after limits applyng

* Log and save in config lora tx_power after limits applyng

* Trunk fmt

* Remove duplicate logic

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
Max
2025-07-01 08:47:42 -05:00
committed by GitHub
co-authored by Ben Meadors
parent baf0e9c7e6
commit 3ea96bb6e1
7 files changed
+14 -22

No files matched your search

+1 -4
View File
@@ -25,10 +25,7 @@ bool STM32WLE5JCInterface::init()
lora.setRfSwitchTable(rfswitch_pins, rfswitch_table);
limitPower();
if (power > STM32WLx_MAX_POWER) // This chip has lower power limits than some
power = STM32WLx_MAX_POWER;
limitPower(STM32WLx_MAX_POWER);
int res = lora.begin(getFreq(), bw, sf, cr, syncWord, power, preambleLength, tcxoVoltage);