mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-06-14 20:14:27 +02:00
fix configPower for sx1272
This commit is contained in:
parent
0a7353c146
commit
ffcdd12d48
@ -670,9 +670,9 @@ static void configPower () {
|
||||
if (req_pw >= 20) {
|
||||
policy = LMICHAL_radio_tx_power_policy_20dBm;
|
||||
eff_pw = 20;
|
||||
} else if (eff_pw >= 14) {
|
||||
} else if (req_pw >= 14) {
|
||||
policy = LMICHAL_radio_tx_power_policy_paboost;
|
||||
if (eff_pw > 17) {
|
||||
if (req_pw > 17) {
|
||||
eff_pw = 17;
|
||||
} else {
|
||||
eff_pw = req_pw;
|
||||
|
Loading…
Reference in New Issue
Block a user