Added heltec_tracker_v2_companion_radio_usb_femoff and heltec_tracker_v2_companion_radio_usb_femon
This commit is contained in:
1 parent
4eae86fa09
commit
fde20d37d0
2 files changed
+18
No files matched your search
@@ -63,6 +63,12 @@ void HeltecTrackerV2Board::begin() {
|
||||
}
|
||||
|
||||
bool HeltecTrackerV2Board::setLoRaFemLnaEnabled(bool enable) {
|
||||
#if defined(RADIO_FEM_RXGAIN) && (RADIO_FEM_RXGAIN == 0)
|
||||
enable = false;
|
||||
#elif defined(RADIO_FEM_RXGAIN) && (RADIO_FEM_RXGAIN == 1)
|
||||
enable = true;
|
||||
#endif
|
||||
|
||||
if (!loRaFEMControl.isLnaCanControl()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user