mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-21 15:25:22 +03:00
Add RSSI dBm warning to the OSD
This commit is contained in:
parent
ce9eb57b6c
commit
c28f285dd7
2 changed files with 10 additions and 1 deletions
|
@ -4379,6 +4379,9 @@
|
|||
"osdWarningLinkQuality": {
|
||||
"message": "Warns when Link Quality is below alarm setting"
|
||||
},
|
||||
"osdWarningRssiDbm": {
|
||||
"message": "Warns when RSSI dBm value is below alarm setting"
|
||||
},
|
||||
|
||||
"osdSectionHelpElements": {
|
||||
"message": "Enable or disable OSD elements."
|
||||
|
|
|
@ -1258,6 +1258,11 @@ OSD.constants = {
|
|||
name: 'LINK_QUALITY',
|
||||
desc: 'osdWarningLinkQuality'
|
||||
},
|
||||
RSSI_DBM: {
|
||||
name: 'RSSI_DBM',
|
||||
desc: 'osdWarningRssiDbm'
|
||||
},
|
||||
|
||||
},
|
||||
FONT_TYPES: [
|
||||
{ file: "default", name: "Default" },
|
||||
|
@ -1543,7 +1548,8 @@ OSD.chooseFields = function () {
|
|||
]);
|
||||
OSD.constants.WARNINGS = OSD.constants.WARNINGS.concat([
|
||||
F.RSSI,
|
||||
F.LINK_QUALITY
|
||||
F.LINK_QUALITY,
|
||||
F.RSSI_DBM,
|
||||
]);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue