mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-06-15 12:24:27 +02:00
Merge branch 'FrancoLiberali-master'
This commit is contained in:
commit
79727fdae2
@ -670,9 +670,9 @@ static void configPower () {
|
|||||||
if (req_pw >= 20) {
|
if (req_pw >= 20) {
|
||||||
policy = LMICHAL_radio_tx_power_policy_20dBm;
|
policy = LMICHAL_radio_tx_power_policy_20dBm;
|
||||||
eff_pw = 20;
|
eff_pw = 20;
|
||||||
} else if (eff_pw >= 14) {
|
} else if (req_pw >= 14) {
|
||||||
policy = LMICHAL_radio_tx_power_policy_paboost;
|
policy = LMICHAL_radio_tx_power_policy_paboost;
|
||||||
if (eff_pw > 17) {
|
if (req_pw > 17) {
|
||||||
eff_pw = 17;
|
eff_pw = 17;
|
||||||
} else {
|
} else {
|
||||||
eff_pw = req_pw;
|
eff_pw = req_pw;
|
||||||
|
Loading…
Reference in New Issue
Block a user