Added RADIO_FEM_RXGAIN in build option for T096

This commit is contained in:
Kevin Le committed 2026-05-10 22:09:56 +07:00
1 parent 1610c0a19b
commit 8abf4a92ff
1 file changed
+4
+4
View File
@@ -126,6 +126,10 @@ const char* T096Board::getManufacturerName() const {
}
bool T096Board::setLoRaFemLnaEnabled(bool enable) {
#if defined(RADIO_FEM_RXGAIN) && (RADIO_FEM_RXGAIN == 0)
enable = false;
#endif
if (!loRaFEMControl.isLnaCanControl()) {
return false;
}