1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-21 15:25:22 +03:00

Toggle for API version

This commit is contained in:
Asizon 2020-06-17 21:52:59 +02:00
parent dcdc15c5e3
commit 41c8286788
2 changed files with 2 additions and 1 deletions

View file

@ -599,6 +599,7 @@ TABS.pid_tuning.initialize = function (callback) {
self.updateFilterWarning();
});
$('.dynLpfCurveExpo').toggle(semver.gte(CONFIG.apiVersion, API_VERSION_1_44));
$('input[id="dtermLowpassDynEnabled"]').change(function() {
var checked = $(this).is(':checked');
var cutoff_min = FILTER_DEFAULT.dterm_lowpass_dyn_min_hz;