Merge pull request #3182 from oltaco/t096-tx-workaround

Workaround for Heltec T096 transmit issue
This commit is contained in:
ripplebiz
2026-08-12 14:49:32 +10:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -79,7 +79,8 @@ private:
def("bw", _parent->bw);
def("sf", _parent->sf);
def("cr", _parent->cr);
def("cad", _parent->cad_enabled);
static const char radio_cad_key[] = {'c', 'a', 'd', '\0'}; // workaround for T096, don't touch without testing T096 repeater still transmit
def(radio_cad_key, _parent->cad_enabled);
def("int_thr", _parent->interference_threshold);
def("rxgain", _parent->rx_boosted_gain);
def("fem_rxgain", _parent->rx_boosted_gain);
+1
View File
@@ -21,6 +21,7 @@ void LoRaFEMControl::setSleepModeEnable(void)
void LoRaFEMControl::setTxModeEnable(void)
{
pinMode(P_LORA_KCT8103L_PA_CTX, OUTPUT); // force pinMode before transmit as temporary workaround for https://github.com/meshcore-dev/MeshCore/issues/3151
digitalWrite(P_LORA_KCT8103L_PA_CSD, HIGH);
digitalWrite(P_LORA_KCT8103L_PA_CTX, HIGH);
}