mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 08:15:22 +03:00
Add support for OSD Profile and LED Profile in-flight adjustments
This commit is contained in:
parent
c76fdaed69
commit
c0c81e5d37
2 changed files with 9 additions and 1 deletions
|
@ -1794,6 +1794,12 @@
|
|||
"adjustmentsFunction28": {
|
||||
"message": "Yaw F Adjustment"
|
||||
},
|
||||
"adjustmentsFunction29": {
|
||||
"message": "OSD Profile Selection"
|
||||
},
|
||||
"adjustmentsFunction30": {
|
||||
"message": "LED Profile Selection"
|
||||
},
|
||||
"adjustmentsSave": {
|
||||
"message": "Save"
|
||||
},
|
||||
|
|
|
@ -277,7 +277,9 @@ TABS.adjustments.adjust_template = function () {
|
|||
var selectFunction = $('#functionSelectionSelect');
|
||||
var elementsNumber;
|
||||
|
||||
if (semver.gte(CONFIG.apiVersion, "1.40.0")) {
|
||||
if (semver.gte(CONFIG.apiVersion, "1.41.0")) {
|
||||
elementsNumber = 31; // OSD Profile Select & LED Profile Select
|
||||
} else if (semver.gte(CONFIG.apiVersion, "1.40.0")) {
|
||||
elementsNumber = 29; // PID Audio
|
||||
} else if (semver.gte(CONFIG.apiVersion, "1.39.0")) {
|
||||
elementsNumber = 26; // PID Audio
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue