fix #346 limit tx power in japan

This commit is contained in:
geeksville
2020-09-15 18:54:50 -07:00
parent 7d4058f49d
commit c6d93d1a28
4 changed files with 30 additions and 0 deletions

View File

@@ -43,6 +43,9 @@ bool SX1262Interface::init()
if (power > 22) // This chip has lower power limits than some
power = 22;
limitPower();
int res = lora.begin(freq, bw, sf, cr, syncWord, power, currentLimit, preambleLength, tcxoVoltage, useRegulatorLDO);
DEBUG_MSG("SX1262 init result %d\n", res);