1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-20 14:55:15 +03:00

Hide SmartFeedforward MSP API 1.42

This commit is contained in:
Miguel Angel Mulero Martinez 2019-04-15 19:12:43 +02:00
parent 0ef835947f
commit 224deb7303

View file

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