mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Adjust Setpoint Weight slider on startup
This commit is contained in:
parent
4430e89fda
commit
f333138b7e
2 changed files with 3 additions and 2 deletions
|
@ -253,7 +253,8 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
dtermSetpointTransitionRangeElement.val(ADVANCED_TUNING.dtermSetpointTransition / 100);
|
||||
|
||||
$('input[name="dtermSetpoint-number"]').val(ADVANCED_TUNING.dtermSetpointWeight / 100);
|
||||
$('input[name="dtermSetpoint-range"]').val(ADVANCED_TUNING.dtermSetpointWeight / 100);
|
||||
$('input[name="dtermSetpoint-range"]').val(ADVANCED_TUNING.dtermSetpointWeight / 100)
|
||||
.change(); // trigger adjustRangeElement()
|
||||
} else {
|
||||
$('.pid_filter .newFilter').hide();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue