1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00

Merge pull request #2427 from dkustec/osd-tx-uplink-power

OSD Tx Uplink Power support
This commit is contained in:
J Blackman 2021-06-12 14:42:29 +10:00 committed by GitHub
commit f326092307
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View file

@ -1191,6 +1191,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`,
},
};
};
@ -1613,6 +1622,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,
]);
}
}