1
0
Fork 0
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:
Miguel Angel Mulero Martinez 2019-06-13 15:38:02 +02:00
parent ce9eb57b6c
commit c28f285dd7
2 changed files with 10 additions and 1 deletions

View file

@ -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."

View file

@ -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,
]);
}
};