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

Renamed flight distance according to betaflight/betaflight#7183.

This commit is contained in:
mikeller 2018-12-08 22:45:16 +13:00
parent ad4c00c20c
commit 1034e3a3e2
2 changed files with 11 additions and 11 deletions

View file

@ -3567,8 +3567,8 @@
"osdDescElementLinkQuality": { "osdDescElementLinkQuality": {
"message": "Alternative indicator for 'link quality' based on frame loss - use with caution" "message": "Alternative indicator for 'link quality' based on frame loss - use with caution"
}, },
"osdDescElementTotalDist": { "osdDescElementFlightDist": {
"message": "Total distance flown during this flight." "message": "Distance flown during this flight."
}, },
"osdDescElementTimer1" : { "osdDescElementTimer1" : {
"message": "Shows the value of timer 1" "message": "Shows the value of timer 1"
@ -3658,7 +3658,7 @@
"osdDescStatMinLinkQuality": { "osdDescStatMinLinkQuality": {
"message": "Minimum of the alternative indicator for 'link quality' based on frame loss" "message": "Minimum of the alternative indicator for 'link quality' based on frame loss"
}, },
"osdDescStatTotalDistance": { "osdDescStatFlightDistance": {
"message": "Total distance travelled during the flight" "message": "Total distance travelled during the flight"
}, },

View file

@ -836,9 +836,9 @@ OSD.constants = {
positionable: true, positionable: true,
preview: '8' preview: '8'
}, },
TOTAL_DIST: { FLIGHT_DIST: {
name: 'TOTAL_DISTANCE', name: 'FLIGHT_DISTANCE',
desc: 'osdDescElementTotalDist', desc: 'osdDescElementFlightDist',
default_position: -1, default_position: -1,
draw_order: 360, draw_order: 360,
positionable: true, positionable: true,
@ -935,9 +935,9 @@ OSD.constants = {
name: 'MIN_LINK_QUALITY', name: 'MIN_LINK_QUALITY',
desc: 'osdDescStatMinLinkQuality' desc: 'osdDescStatMinLinkQuality'
}, },
TOTAL_DISTANCE: { FLIGHT_DISTANCE: {
name: 'TOTAL_DISTANCE', name: 'FLIGHT_DISTANCE',
desc: 'osdDescStatTotalDistance' desc: 'osdDescStatFlightDistance'
} }
}, },
ALL_WARNINGS: { ALL_WARNINGS: {
@ -1090,7 +1090,7 @@ OSD.chooseFields = function () {
F.LOG_STATUS, F.LOG_STATUS,
F.FLIP_ARROW, F.FLIP_ARROW,
F.LINK_QUALITY, F.LINK_QUALITY,
F.TOTAL_DIST, F.FLIGHT_DIST,
]); ]);
} }
} }
@ -1178,7 +1178,7 @@ OSD.chooseFields = function () {
F.MAX_ESC_TEMP, F.MAX_ESC_TEMP,
F.MAX_ESC_RPM, F.MAX_ESC_RPM,
F.MIN_LINK_QUALITY, F.MIN_LINK_QUALITY,
F.TOTAL_DISTANCE F.FLIGHT_DISTANCE
]); ]);
} }
} }