show RSSI dbm as negative number on OSD consistently - #11769
Conversation
Branch Targeting SuggestionYou've targeted the
If This is an automated suggestion to help route contributions to the appropriate branch. |
PR Summary by QodoShow MAVLink RSSI dBm as negative on OSD for GENERIC radio type
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1.
|
Code Review by Qodo
1.
|
|
Test firmware build ready — commit Download firmware for PR #11769 243 targets built. Find your board's
|
INAV parses MAVLink RADIO_STATUS messages differently depending on the configured radio type.
In GENERIC mode: rssi field is positive number and is assigned as is to the uplink RSSI indicator.
In ELRS mode: remrssi is poitive number and is negated for the uplink RSSI indicator.
This change negates rssi in generic mode so RSSI is displayed as a negative dBm value, consistently with ELRS and other receivers in INAV.