mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 01:05:15 +03:00
fix integrated yaw usage
move code to pidtuning.js fix tuningsliders
This commit is contained in:
parent
41747c65b6
commit
5a13439897
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue