Fix for Rx boosted gain on LR1110#2844
Open
oltaco wants to merge 4 commits into
Open
Conversation
recrof
reviewed
Jun 25, 2026
recrof
reviewed
Jun 25, 2026
a9cfacb to
b07aba7
Compare
Member
Author
|
Thanks @recrof didn't mean to include those 👍 |
liamcottle
reviewed
Jun 26, 2026
ViezeVingertjes
approved these changes
Jun 26, 2026
ViezeVingertjes
left a comment
Contributor
There was a problem hiding this comment.
LGTM; did open a PR to yours with a few suggestions but those are more style/cleanup, so not mandatory. 👍🏼
(Still having nightmares of the LR1110 deafness problems when i read that type haha)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes Rx boosted gain not being applied on LR1110 and improves the error handling when setting Rx boosted gain.
Previously LR1110 was never getting Rx boosted gain set due to an overly narrow guard condition in MyMesh. Nobody noticed that the override wasn't getting called because the call was void and the default was no-op so there was no error to report.
I have changed setRxBoostedGain() and setRxBoostedGainMode() to return bool and the default is to return false. Now errors can propagate back to CommonCLI so that we know when radio.rxgain is unsupported or the radio returned an error.
Tested on LR1110 (T1000e) and (RAK 4631).
Confirmed building on SX1268 (Meshadventurer) and ESPNOW (Heltec V3), untested but should be fine.