From: jacob.eva Date: Sat, 12 Oct 2024 21:23:50 +0000 (+0100) Subject: Add Heltec LoRa32 v3 to setTXPower X-Git-Url: https://git.tnoah.ca/?a=commitdiff_plain;h=c7e24f79663bea1f9b23e9ee82fa8ec64a723d81;p=lora-radio.git Add Heltec LoRa32 v3 to setTXPower --- diff --git a/Utilities.h b/Utilities.h index c260999..bcde9b3 100644 --- a/Utilities.h +++ b/Utilities.h @@ -1058,6 +1058,9 @@ void setTXPower(RadioInterface* radio, int txp) { if (model == MODEL_C4) radio->setTxPower(txp, PA_OUTPUT_PA_BOOST_PIN); if (model == MODEL_C9) radio->setTxPower(txp, PA_OUTPUT_PA_BOOST_PIN); + if (model == MODEL_C5) radio->setTxPower(txp, PA_OUTPUT_PA_BOOST_PIN); + if (model == MODEL_CA) radio->setTxPower(txp, PA_OUTPUT_PA_BOOST_PIN); + if (model == MODEL_D4) radio->setTxPower(txp, PA_OUTPUT_PA_BOOST_PIN); if (model == MODEL_D9) radio->setTxPower(txp, PA_OUTPUT_PA_BOOST_PIN);