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

Merge pull request #1389 from McGiverGim/hide_smartfeedforward

Hide SmartFeedforward MSP API 1.42
This commit is contained in:
Michael Keller 2019-04-17 06:14:26 +12:00 committed by GitHub
commit a687b9df1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -348,6 +348,10 @@ TABS.pid_tuning.initialize = function (callback) {
$('.integratedYaw').hide();
}
if (semver.gte(CONFIG.apiVersion, "1.42.0")) {
$('.smartfeedforward').hide();
}
$('input[id="useIntegratedYaw"]').change(function() {
var checked = $(this).is(':checked');
$('#pidTuningIntegratedYawCaution').toggle(checked);