Initial commit

Changes requested by review
10.8-maintenance
Davor Kustec 2021-02-23 11:44:34 +01:00
parent 9c29379534
commit 2ebdd016d7
2 changed files with 17 additions and 0 deletions

View File

@ -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 <i>Dynamic Power</i> is enabled for supporting radios"
},
"osdTextElementUnknown": {
"message": "Unknown $1",
"description": "One of the elements of the OSD"

View File

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