File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -560,7 +560,7 @@ static void configChannel () {
560
560
// 1) using RFO: power is -1 to 13 dBm (datasheet implies max OutputPower value is 14 for 13 dBm)
561
561
// 2) using PA_BOOST, PaDac = 0x84: power is 2 to 17 dBm;
562
562
// use this for 14..17 if authorized
563
- // 3) using PA_BOOST, PaDac = 0x87, OutptuPower = 0xF: power is 20dBm
563
+ // 3) using PA_BOOST, PaDac = 0x87, OutputPower = 0xF: power is 20dBm
564
564
// and duty cycle must be <= 1%
565
565
//
566
566
// The general policy is to use the lowest power variant that will get us where we
@@ -626,6 +626,10 @@ static void configPower () {
626
626
// we have to re-check eff_pw, which might be too small.
627
627
// (And, of course, it might also be too large.)
628
628
case LMICHAL_radio_tx_power_policy_paboost :
629
+ // It seems that SX127x doesn't like eff_pw 10 when in FSK mode.
630
+ if (getSf (LMIC .rps ) == FSK && eff_pw < 11 ) {
631
+ eff_pw = 11 ;
632
+ }
629
633
rPaDac = SX127X_PADAC_POWER_NORMAL ;
630
634
rOcp = SX127X_OCP_MAtoBITS (100 );
631
635
if (eff_pw > 17 )
You can’t perform that action at this time.
0 commit comments