mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 00:35:26 +03:00
Add OSD profile names
This commit is contained in:
parent
a5b5c7d737
commit
4e4f9e98c3
2 changed files with 12 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue