mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 08:15:22 +03:00
Toggle for API version
This commit is contained in:
parent
dcdc15c5e3
commit
41c8286788
2 changed files with 2 additions and 1 deletions
|
@ -599,6 +599,7 @@ TABS.pid_tuning.initialize = function (callback) {
|
||||||
self.updateFilterWarning();
|
self.updateFilterWarning();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('.dynLpfCurveExpo').toggle(semver.gte(CONFIG.apiVersion, API_VERSION_1_44));
|
||||||
$('input[id="dtermLowpassDynEnabled"]').change(function() {
|
$('input[id="dtermLowpassDynEnabled"]').change(function() {
|
||||||
var checked = $(this).is(':checked');
|
var checked = $(this).is(':checked');
|
||||||
var cutoff_min = FILTER_DEFAULT.dterm_lowpass_dyn_min_hz;
|
var cutoff_min = FILTER_DEFAULT.dterm_lowpass_dyn_min_hz;
|
||||||
|
|
|
@ -1345,7 +1345,7 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr class="dtermLowpassDyn">
|
<tr class="dtermLowpassDyn dynLpfCurveExpo">
|
||||||
<td>
|
<td>
|
||||||
<span class="groupSwitchValue">
|
<span class="groupSwitchValue">
|
||||||
<span class="inputSwitch"><input type="checkbox" id="dtermLowpassDynExpoEnabled" class="toggle" /></span>
|
<span class="inputSwitch"><input type="checkbox" id="dtermLowpassDynExpoEnabled" class="toggle" /></span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue