diff --git a/locales/en/messages.json b/locales/en/messages.json index a92e27c2..66bfbf3c 100644 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -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." diff --git a/src/js/tabs/osd.js b/src/js/tabs/osd.js index 8324612d..3f57ff19 100644 --- a/src/js/tabs/osd.js +++ b/src/js/tabs/osd.js @@ -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, ]); } };