diff --git a/locales/en/messages.json b/locales/en/messages.json index 52167a35..0a3f8867 100644 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -5002,6 +5002,13 @@ "osdDescUpDownReference": { "message": "OSD Symbol to show when pitch is approaching vertical (90 deg, U) and D for nose down (-90 deg, D)" }, + "osdTextElementTxUplinkPower": { + "message": "Tx uplink power", + "description": "One of the elements of the OSD" + }, + "osdDescTxUplinkPower": { + "message": "Shows a value of the Tx power (mW or W). Useful when Dynamic Power is enabled for supporting radios" + }, "osdTextElementUnknown": { "message": "Unknown $1", "description": "One of the elements of the OSD" diff --git a/src/js/tabs/osd.js b/src/js/tabs/osd.js index f5046fe1..cc57137f 100644 --- a/src/js/tabs/osd.js +++ b/src/js/tabs/osd.js @@ -1190,6 +1190,15 @@ OSD.loadDisplayFields = function() { positionable: true, preview: 'U', }, + OSD_TX_UPLINK_POWER: { + name: 'OSD_TX_UPLINK_POWER', + text: 'osdTextElementTxUplinkPower', + desc: 'osdDescTxUplinkPower', + defaultPosition: -1, + draw_order: 470, + positionable: true, + preview: `${FONT.symbol(SYM.RSSI)}250MW`, + }, }; }; @@ -1612,6 +1621,7 @@ OSD.chooseFields = function() { OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([ F.TOTAL_FLIGHTS, F.OSD_UP_DOWN_REFERENCE, + F.OSD_TX_UPLINK_POWER, ]); } }