Merge pull request #341 from shellixyz/new_dev_branch_adjustments

Add new adjustments for board alignment
pull/328/head
Konstantin Sharlaimov 7 years ago committed by GitHub
commit 76bfbd5380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1082,10 +1082,10 @@
"message": "Navigation FW Pitch To Throttle Adjustment" "message": "Navigation FW Pitch To Throttle Adjustment"
}, },
"adjustmentsFunction30": { "adjustmentsFunction30": {
"message": "PosR P Adjustment" "message": "Board Roll Alignment Adjustment"
}, },
"adjustmentsFunction31": { "adjustmentsFunction31": {
"message": "PosR I Adjustment" "message": "Board Pitch Alignment Adjustment"
}, },
"adjustmentsFunction32": { "adjustmentsFunction32": {
"message": "PosR D Adjustment" "message": "PosR D Adjustment"

@ -71,7 +71,7 @@ TABS.adjustments.initialize = function (callback) {
} }
if (semver.gte(CONFIG.flightControllerVersion, '1.8.1')) { if (semver.gte(CONFIG.flightControllerVersion, '1.8.1')) {
availableFunctionCount = 30; availableFunctionCount = 32;
} }
var functionListOptions = $(functionListOptions).slice(0,availableFunctionCount); var functionListOptions = $(functionListOptions).slice(0,availableFunctionCount);

Loading…
Cancel
Save