Cleanup femon and femoff for Heltec boards

This commit is contained in:
Kevin Le committed 2026-10-10 12:11:22 +07:00
1 parent 445ae057e0
commit d6a75ff44e
7 files changed
+15 -16

No files matched your search

@@ -63,12 +63,6 @@ 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;
}