Toggle for API version
parent
dcdc15c5e3
commit
41c8286788
|
@ -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…
Reference in New Issue