Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/js/tabs/pid_tuning.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,10 @@ TABS.pid_tuning.initialize = function (callback) {

$('input[id="useIntegratedYaw"]').change(function() {
const checked = $(this).is(':checked');
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_44)) {
this.sliderPidsMode = 0;
}
$('#pid_main .pid_data input').prop('disabled', !checked);
$('#pidTuningIntegratedYawCaution').toggle(checked);
}).change();

Expand Down