Merge pull request #3 from weebl2000/dev-heltec-v4.3
Default LNA enabled=true and fix the sleep order
This commit is contained in:
@@ -75,9 +75,9 @@ void LoRaFEMControl::setRxModeEnable(void)
|
|||||||
} else if(fem_type==KCT8103L_PA) {
|
} else if(fem_type==KCT8103L_PA) {
|
||||||
digitalWrite(P_LORA_KCT8103L_PA_CSD, HIGH);
|
digitalWrite(P_LORA_KCT8103L_PA_CSD, HIGH);
|
||||||
if(lna_enabled) {
|
if(lna_enabled) {
|
||||||
digitalWrite(P_LORA_KCT8103L_PA_CTX, LOW);
|
digitalWrite(P_LORA_KCT8103L_PA_CTX, LOW); // LNA on
|
||||||
} else {
|
} else {
|
||||||
digitalWrite(P_LORA_KCT8103L_PA_CTX, HIGH);
|
digitalWrite(P_LORA_KCT8103L_PA_CTX, HIGH); // LNA bypass
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user