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

Fix const

This commit is contained in:
asizon 2022-02-18 10:44:08 +01:00
parent 15f49363de
commit e8a5af55d6

View file

@ -679,7 +679,7 @@ TABS.motors.initialize = function (callback) {
FC.MOTOR_CONFIG.use_dshot_telemetry = value;
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_44)) {
const rpmFilterIsDisabled = self.previousDshotBidir && FC.FILTER_CONFIG.gyro_rpm_notch_harmonics === 0;
const rpmFilterIsDisabled = FC.FILTER_CONFIG.gyro_rpm_notch_harmonics === 0;
FC.FILTER_CONFIG.dyn_notch_count = self.previousFilterDynCount;
FC.FILTER_CONFIG.dyn_notch_q = self.previousFilterDynQ;