Added OSD_REMAINING_TIME_ESTIMATE to OSD
parent
ef67542524
commit
e796838bb1
|
@ -2520,6 +2520,9 @@
|
|||
"osdDescElementTimer2" : {
|
||||
"message": "Shows the value of timer 2"
|
||||
},
|
||||
"osdDescElementRemaningTimeEstimate" : {
|
||||
"message": "Estimate of flight time remaning"
|
||||
},
|
||||
"osdDescElementUnknown" : {
|
||||
"message": "Unknown element (details to be added in a future release)"
|
||||
},
|
||||
|
|
|
@ -606,6 +606,13 @@ OSD.constants = {
|
|||
positionable: true,
|
||||
preview: '226000'
|
||||
},
|
||||
REMAINING_TIME_ESTIMATE: {
|
||||
name: 'REMAINING_TIME_ESTIMATE',
|
||||
desc: 'osdDescElementRemaningTimeEstimate',
|
||||
default_position: -1,
|
||||
positionable: true,
|
||||
preview: '01:13'
|
||||
},
|
||||
RTC_DATE_TIME: {
|
||||
name: 'RTC_DATE_TIME',
|
||||
desc: 'osdDescElementRtcDateTime',
|
||||
|
@ -815,6 +822,7 @@ OSD.chooseFields = function () {
|
|||
]);
|
||||
if (semver.gte(CONFIG.apiVersion, "1.37.0")) {
|
||||
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
|
||||
F.REMAINING_TIME_ESTIMATE,
|
||||
F.RTC_DATE_TIME,
|
||||
F.ADJUSTMENT_RANGE
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue