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 authored and caveman99 committed Nov 3, 2024
1 parent da7424a commit 353eae4
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 353eae4

Please sign in to comment.