1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 01:35:28 +03:00

Merge pull request #1283 from etracer65/add_osd_profile_adjustment

Add support for OSD Profile and LED Profile in-flight adjustments
This commit is contained in:
Michael Keller 2019-01-24 19:07:09 +13:00 committed by GitHub
commit 7843de252c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -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