Cleanup femon and femoff for Heltec boards
This commit is contained in:
1 parent
445ae057e0
commit
d6a75ff44e
7 files changed
+15
-16
No files matched your search
@@ -916,7 +916,15 @@ MyMesh::MyMesh(mesh::Radio &radio, mesh::RNG &rng, mesh::RTCClock &rtc, SimpleMe
|
||||
_prefs.tx_power_dbm = LORA_TX_POWER;
|
||||
_prefs.gps_enabled = 0; // GPS disabled by default
|
||||
_prefs.gps_interval = 0; // No automatic GPS updates by default
|
||||
|
||||
#if defined(RADIO_FEM_RXGAIN) && (RADIO_FEM_RXGAIN == 0)
|
||||
_prefs.radio_fem_rxgain = 0;
|
||||
#elif defined(RADIO_FEM_RXGAIN) && (RADIO_FEM_RXGAIN == 1)
|
||||
_prefs.radio_fem_rxgain = 1;
|
||||
#else
|
||||
_prefs.radio_fem_rxgain = 0; // PowerSaving and better signal
|
||||
#endif
|
||||
|
||||
_prefs.radio_fem_txgain = 0;
|
||||
//_prefs.rx_delay_base = 10.0f; enable once new algo fixed
|
||||
_prefs.setRepeatEn(false);
|
||||
|
||||
Reference in new issue
Block a user