Apply downstream patch from @jacobeva. Fixes TX power output on RAK boards.
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user