1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 00:05:22 +03:00

Auto merged - #2531 at Sun, 01 Aug 2021 02:17:07 GMT

Disable feedforward switch action for old versions
This commit is contained in:
J Blackman 2021-08-01 12:17:07 +10:00 committed by GitHub
commit 03794c6699
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View file

@ -329,7 +329,7 @@ TABS.pid_tuning.initialize = function (callback) {
// Feedforward column
$('#pid_main tr :nth-child(6)').hide();
$('#pid-tuning .feedforwardTransition').hide();
$('#pid-tuning .feedforwardGroup').hide();
}
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_41)) {
@ -531,6 +531,8 @@ TABS.pid_tuning.initialize = function (callback) {
$('.feedforwardOption').hide();
$('.vbatSagCompensation').hide();
$('.thrustLinearization').hide();
$('.feedforwardGroupCheckbox').addClass('switchery-disabled');
$('input[id="feedforwardGroup"]').prop('checked', true);
}
$('input[id="useIntegratedYaw"]').change(function() {