Add OSD profile names
parent
a5b5c7d737
commit
4e4f9e98c3
|
@ -3893,6 +3893,9 @@
|
|||
"osdDescElementLogStatus": {
|
||||
"message": "Blackbox number and warnings"
|
||||
},
|
||||
"osdDescElementOsdProfileName": {
|
||||
"message": "OSD profile name as set in the \"osd_profile_1_name\", \"osd_profile_2_name\" and \"osd_profile_3_name\" CLI variables"
|
||||
},
|
||||
|
||||
"osdDescStatMaxSpeed": {
|
||||
"message": "Maximum recorded speed"
|
||||
|
|
|
@ -988,6 +988,14 @@ OSD.constants = {
|
|||
positionable: true,
|
||||
preview: 'PID_1'
|
||||
},
|
||||
OSD_PROFILE_NAME: {
|
||||
name: 'OSD_PROFILE_NAME',
|
||||
desc: 'osdDescElementOsdProfileName',
|
||||
default_position: -1,
|
||||
draw_order: 440,
|
||||
positionable: true,
|
||||
preview: 'OSD_1'
|
||||
},
|
||||
},
|
||||
UNKNOWN_DISPLAY_FIELD: {
|
||||
name: 'UNKNOWN_',
|
||||
|
@ -1303,6 +1311,7 @@ OSD.chooseFields = function () {
|
|||
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
|
||||
F.RATE_PROFILE_NAME,
|
||||
F.PID_PROFILE_NAME,
|
||||
F.OSD_PROFILE_NAME
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue