Skip to content

Commit

Permalink
LR1110 - remove old comment referring to non-existent function.
Browse files Browse the repository at this point in the history
It seems like there was no setrxgain function in RadioLib. Since
we're unlikely to uncomment and enable this non-existent feature,
remove this code.
  • Loading branch information
fifieldt committed Nov 3, 2024
1 parent bee474e commit 0b9dc1f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/mesh/LR11x0Interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ template <typename T> bool LR11x0Interface<T>::reconfigure()
if (err != RADIOLIB_ERR_NONE)
RECORD_CRITICALERROR(meshtastic_CriticalErrorCode_INVALID_RADIO_SETTING);

// Hmm - seems to lower SNR when the signal levels are high. Leaving off for now...
// TODO: Confirm gain registers are okay now
// err = lora.setRxGain(true);
// assert(err == RADIOLIB_ERR_NONE);

err = lora.setSyncWord(syncWord);
assert(err == RADIOLIB_ERR_NONE);

Expand Down

0 comments on commit 0b9dc1f

Please sign in to comment.