mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 16:55:24 +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
|
@ -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