mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-02 14:46:16 -04:00
Apply downstream patch from @jacobeva. Fixes TX power output on RAK boards.
This commit is contained in:
parent
8d68a14b89
commit
d0ff3d5b31
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue