Merge pull request #2427 from dkustec/osd-tx-uplink-power
OSD Tx Uplink Power support10.8-maintenance
commit
f326092307
|
@ -5028,6 +5028,13 @@
|
||||||
"osdDescUpDownReference": {
|
"osdDescUpDownReference": {
|
||||||
"message": "OSD Symbol to show when pitch is approaching vertical (90 deg, U) and D for nose down (-90 deg, D)"
|
"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": {
|
"osdTextElementUnknown": {
|
||||||
"message": "Unknown $1",
|
"message": "Unknown $1",
|
||||||
"description": "One of the elements of the OSD"
|
"description": "One of the elements of the OSD"
|
||||||
|
|
|
@ -1191,6 +1191,15 @@ OSD.loadDisplayFields = function() {
|
||||||
positionable: true,
|
positionable: true,
|
||||||
preview: 'U',
|
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`,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1613,6 +1622,7 @@ OSD.chooseFields = function() {
|
||||||
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
|
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
|
||||||
F.TOTAL_FLIGHTS,
|
F.TOTAL_FLIGHTS,
|
||||||
F.OSD_UP_DOWN_REFERENCE,
|
F.OSD_UP_DOWN_REFERENCE,
|
||||||
|
F.OSD_TX_UPLINK_POWER,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue