1
0
Fork 0
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:
Pieter Kruger 2019-05-22 19:53:09 +10:00
parent a5b5c7d737
commit 4e4f9e98c3
2 changed files with 12 additions and 0 deletions

View file

@ -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
]);
}
}