Renamed flight distance according to betaflight/betaflight#7183.

10.5.x-maintenance
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": {
"message": "Alternative indicator for 'link quality' based on frame loss - use with caution"
},
"osdDescElementTotalDist": {
"message": "Total distance flown during this flight."
"osdDescElementFlightDist": {
"message": "Distance flown during this flight."
},
"osdDescElementTimer1" : {
"message": "Shows the value of timer 1"
@ -3658,7 +3658,7 @@
"osdDescStatMinLinkQuality": {
"message": "Minimum of the alternative indicator for 'link quality' based on frame loss"
},
"osdDescStatTotalDistance": {
"osdDescStatFlightDistance": {
"message": "Total distance travelled during the flight"
},

View File

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