mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 01:05:15 +03:00
Merge pull request #1883 from Asizon/itermRelaxCutoff
Iterm Relax Cutoff Update
This commit is contained in:
commit
d96b2319fa
3 changed files with 8 additions and 0 deletions
|
@ -234,6 +234,10 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
$('select[id="itermrelaxType"]').val(ADVANCED_TUNING.itermRelaxType);
|
||||
$('input[name="itermRelaxCutoff"]').val(ADVANCED_TUNING.itermRelaxCutoff);
|
||||
|
||||
if (semver.gte(CONFIG.apiVersion, "1.43.0")) {
|
||||
$('.itermrelax input[name="itermRelaxCutoff"]').attr("max","50");
|
||||
}
|
||||
|
||||
itermRelaxCheck.change(function() {
|
||||
var checked = $(this).is(':checked');
|
||||
|
||||
|
|
|
@ -537,6 +537,7 @@
|
|||
</label>
|
||||
</span>
|
||||
|
||||
<div class="helpicon cf_tip" i18n_title="pidTuningItermRelaxCutoffHelp"></div>
|
||||
<span class="itermRelaxCutoff suboption">
|
||||
<input type="number" name="itermRelaxCutoff" step="1" min="1" max="100" />
|
||||
<label for="itermRelaxCutoff">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue