Repository navigation
Fix ANT indexing on EdgeTX 2.12.3+, label X-band paths - #39
Merged
Merged
Conversation
EdgeTX 2.12.3 (#7667) reports ANT 1-based; earlier versions 0-based. Latch the base from the first 0 or 2 seen while streaming and keep antennas 1/2 internally; fall back to the stronger RSSI until known. X modes: path 1 is sub-GHz, path 2 is 2.4 GHz; the full-screen rows label them SubG / 2.4. Adds an xband simulator scenario.
CapnBry
approved these changes
Oct 4, 2026
CapnBry
left a comment
Member
There was a problem hiding this comment.
This is a good compromise that works either way, once it flips antennas once so I think that's acceptable. Seems to work properly on single and dual RXes, on handsets that label the antenna 1 or 0 or 2.
I still think we should reconsider the renumbering upstream but this works regardless of that decision.
Member
Author
I think it is a bit late to reconsider since it was released in latest EdgeTX release already. |
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.
EdgeTX 2.12.3 (EdgeTX/edgetx#7667) made the ELRS
ANTsensor 1-based. The widget assumed 0-based, so on 2.12.3+ antenna 1 read as antenna 2 and the RSSI shown was 2RSS (0 dBm on single-path receivers).ANTof 0 or 2 seen while telemetry streams; use antennas 1/2 internally. Until known, the stronger RSSI picks the antenna.SubG/2.4and show the active band.xbandsimulator scenario.