Skip to content

Use 1-based antenna naming on the receiver - #3734

Merged
pkendall64 merged 1 commit into
4.x-maintfrom
ant12-naming-consistency
Aug 17, 2026
Merged

pkendall64 merged 1 commit into
4.x-maintfrom
ant12-naming-consistency

Conversation

@jurgelenas

Copy link
Copy Markdown
Member

The receiver was the only surface naming antennas with letters: its Lua parameter read "Ant. Mode" with "Antenna A;Antenna B;Diversity", while the TX parameter, the TX OLED menu, the CRSF link-statistics spec and the handset's 1RSS/2RSS sensors are all 1-based.

Rename the parameter to "Antenna Mode" to match the TX and its options to "Antenna 1;Antenna 2;Diversity", and print the active antenna as 1 or 2 on the link-stats screens so it reads against the RSSI 1 / RSSI 2 rows above it.

The receiver was the only surface naming antennas with letters: its Lua
parameter read "Ant. Mode" with "Antenna A;Antenna B;Diversity", while the
TX parameter, the TX OLED menu, the CRSF link-statistics spec and the
handset's 1RSS/2RSS sensors are all 1-based.

Rename the parameter to "Antenna Mode" to match the TX and its options to
"Antenna 1;Antenna 2;Diversity", and print the active antenna as 1 or 2 on
the link-stats screens so it reads against the RSSI 1 / RSSI 2 rows above
it. Stored config values are unchanged.
@pkendall64 pkendall64 added house keeping 🧹 Cleanup of code and house keeping V4.2 🥨 labels Aug 14, 2026
@pkendall64
pkendall64 merged commit cfcaf50 into 4.x-maint Aug 17, 2026
52 checks passed
@pkendall64
pkendall64 deleted the ant12-naming-consistency branch August 17, 2026 07:49
{"Antenna Mode", CRSF_TEXT_SELECTION},
0, // value
"Antenna A;Antenna B;Diversity",
"Antenna 1;Antenna 2;Diversity",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately EdgeTX will still display 0/1 for the ANT telemetry sensor and ANT data will still be logged as 0/1. That's confusing. If ANT data shall be compatible with EdgeTX we need to have a consistent 0/1 pattern or have a PR for EdgeTX to follow the 1/2 pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

house keeping 🧹 Cleanup of code and house keeping V4.2 🥨

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants