Repository navigation
Only show "RF Band" in Lua if hardware permits - #3501
Merged
pkendall64 merged 4 commits intoJan 22, 2026
Merged
Conversation
…ardware Also fix a bug where 2.4 only would cause a reboot if no JSON value was preset for power_values
pkendall64
force-pushed
the
4.0/lr1121-with-single-band
branch
from
January 18, 2026 03:55
0b5d86b to
c59d9c1
Compare
mha1
reviewed
Jan 18, 2026
mha1
approved these changes
Jan 20, 2026
mha1
left a comment
Contributor
There was a problem hiding this comment.
Tested with RM Nomad:
- removing
"power_values_dual"entry in hw json -> No band selection, 900Mhz packet rates - changing
"power_values"entry to"power_values": 0-> No band selection, 2.4G packet rates
CapnBry
approved these changes
Jan 22, 2026
CapnBry
left a comment
Member
There was a problem hiding this comment.
I'm not a huge fan of cramming config fixups for things that can't be broken on any release version right into the load routine, but I'm just going to ignore how bad a precedent it sets 😅
This is a great fix for something I didn't even think about. Select 900M on a 2.4G only TX... huh ghost options!
Collaborator
Author
Neither am I. I just could not figure out the best place for this, I don't know whether that was a me problem, or this is just the best place. |
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.
Some hardware use the LR1121 chip, but only has one RF path populated so we should only show the Band selection option if the hardware actually supports it.