1
0
Fork 0
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:
Cleric-K 2018-06-06 20:02:54 +03:00
parent 4430e89fda
commit f333138b7e
2 changed files with 3 additions and 2 deletions

View file

@ -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();
}