From: Mark Qvist Date: Sun, 26 May 2024 07:47:54 +0000 (+0200) Subject: Apply downstream patch from @jacobeva. Fixes TX power output on RAK boards. X-Git-Url: https://git.tnoah.ca/?a=commitdiff_plain;h=d0ff3d5b31de6e43b9c7b6ee0907122fe7eb0338;p=lora-radio.git Apply downstream patch from @jacobeva. Fixes TX power output on RAK boards. --- diff --git a/Utilities.h b/Utilities.h index 090e5d5..c70568b 100644 --- a/Utilities.h +++ b/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);