Merge pull request #2985 from haslinghuis/dynIdleMin

Raise upper limit of dyn_idle_min_rpm
10.9-maintenance
J Blackman 2022-09-19 09:07:35 +10:00 committed by GitHub
commit 185db5beb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -515,6 +515,10 @@ pid_tuning.initialize = function (callback) {
$('.rpmFilter').hide();
}
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_45)) {
$('input[name="idleMinRpm-number"]').attr("max", 200);
}
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_43)) {
$('.tab-pid_tuning input[name="motorLimit"]').val(FC.ADVANCED_TUNING.motorOutputLimit);
$('.tab-pid_tuning select[name="cellCount"]').val(FC.ADVANCED_TUNING.autoProfileCellCount);