mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 12:55:14 +03:00
Add support for "Auto" RC Smoothing derivative type
This commit is contained in:
parent
49d0793c97
commit
f3cefcef81
2 changed files with 9 additions and 1 deletions
|
@ -383,6 +383,11 @@ TABS.receiver.initialize = function (callback) {
|
|||
});
|
||||
rcSmoothingnDerivativeNumberElement.val(RX_CONFIG.rcSmoothingDerivativeCutoff);
|
||||
var rc_smoothing_derivative_type = $('select[name="rcSmoothingDerivativeType-select"]');
|
||||
|
||||
if (semver.gte(CONFIG.apiVersion, "1.43.0")) {
|
||||
rc_smoothing_derivative_type.append($(`<option value="3">${i18n.getMessage("receiverRcSmoothingDerivativeTypeAuto")}</option>`));
|
||||
}
|
||||
|
||||
rc_smoothing_derivative_type.change(function () {
|
||||
RX_CONFIG.rcSmoothingDerivativeType = $(this).val();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue