Apply downstream patch from @jacobeva. Fixes TX power output on RAK boards.

master
Mark Qvist 9 months ago
parent 8d68a14b89
commit d0ff3d5b31
  1. 3
      Utilities.h

@ -1062,6 +1062,9 @@ int getTxPower() {
void setTXPower() {
if (radio_online) {
if (model == MODEL_11) LoRa->setTxPower(lora_txp, PA_OUTPUT_RFO_PIN);
if (model == MODEL_12) LoRa->setTxPower(lora_txp, PA_OUTPUT_RFO_PIN);
if (model == MODEL_A1) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
if (model == MODEL_A2) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
if (model == MODEL_A3) LoRa->setTxPower(lora_txp, PA_OUTPUT_RFO_PIN);

Loading…
Cancel
Save