mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-22 15:55:33 +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": {
|
"osdWarningLinkQuality": {
|
||||||
"message": "Warns when Link Quality is below alarm setting"
|
"message": "Warns when Link Quality is below alarm setting"
|
||||||
},
|
},
|
||||||
|
"osdWarningRssiDbm": {
|
||||||
|
"message": "Warns when RSSI dBm value is below alarm setting"
|
||||||
|
},
|
||||||
|
|
||||||
"osdSectionHelpElements": {
|
"osdSectionHelpElements": {
|
||||||
"message": "Enable or disable OSD elements."
|
"message": "Enable or disable OSD elements."
|
||||||
|
|
|
@ -1258,6 +1258,11 @@ OSD.constants = {
|
||||||
name: 'LINK_QUALITY',
|
name: 'LINK_QUALITY',
|
||||||
desc: 'osdWarningLinkQuality'
|
desc: 'osdWarningLinkQuality'
|
||||||
},
|
},
|
||||||
|
RSSI_DBM: {
|
||||||
|
name: 'RSSI_DBM',
|
||||||
|
desc: 'osdWarningRssiDbm'
|
||||||
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
FONT_TYPES: [
|
FONT_TYPES: [
|
||||||
{ file: "default", name: "Default" },
|
{ file: "default", name: "Default" },
|
||||||
|
@ -1543,7 +1548,8 @@ OSD.chooseFields = function () {
|
||||||
]);
|
]);
|
||||||
OSD.constants.WARNINGS = OSD.constants.WARNINGS.concat([
|
OSD.constants.WARNINGS = OSD.constants.WARNINGS.concat([
|
||||||
F.RSSI,
|
F.RSSI,
|
||||||
F.LINK_QUALITY
|
F.LINK_QUALITY,
|
||||||
|
F.RSSI_DBM,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue