1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 09:45:28 +03:00

Add minimum RSSI dBm OSD statistic (#1506)

Add minimum RSSI dBm OSD statistic
This commit is contained in:
Michael Keller 2019-06-30 01:34:31 +12:00 committed by GitHub
commit ff9bf5a327
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -4324,6 +4324,9 @@
"osdDescStatTotalFlightDistance": { "osdDescStatTotalFlightDistance": {
"message": "Total distance traveled" "message": "Total distance traveled"
}, },
"osdDescStatMinRssiDbm": {
"message": "Minimum RSSI dBm value"
},
"osdDescribeFontVersion1": { "osdDescribeFontVersion1": {
"message": "Font version: 1 (Betaflight 4.0 or older)" "message": "Font version: 1 (Betaflight 4.0 or older)"

View file

@ -1210,7 +1210,11 @@ OSD.constants = {
TOTAL_FLIGHT_DIST: { TOTAL_FLIGHT_DIST: {
name: 'TOTAL_FLIGHT_DIST', name: 'TOTAL_FLIGHT_DIST',
desc: 'osdDescStatTotalFlightDistance' desc: 'osdDescStatTotalFlightDistance'
} },
MIN_RSSI_DBM: {
name: 'MIN_RSSI_DBM',
desc: 'osdDescStatMinRssiDbm'
},
}, },
ALL_WARNINGS: { ALL_WARNINGS: {
ARMING_DISABLED: { ARMING_DISABLED: {
@ -1536,7 +1540,8 @@ OSD.chooseFields = function () {
OSD.constants.STATISTIC_FIELDS = OSD.constants.STATISTIC_FIELDS.concat([ OSD.constants.STATISTIC_FIELDS = OSD.constants.STATISTIC_FIELDS.concat([
F.TOTAL_FLIGHTS, F.TOTAL_FLIGHTS,
F.TOTAL_FLIGHT_TIME, F.TOTAL_FLIGHT_TIME,
F.TOTAL_FLIGHT_DIST F.TOTAL_FLIGHT_DIST,
F.MIN_RSSI_DBM
]); ]);
} }
} }