1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

clear the DYNAMIC_FILTER if not enabled in code.

This commit is contained in:
atomiclama 2017-08-24 15:33:37 +01:00
parent dfe868ef96
commit 5fc80e3320

View file

@ -418,6 +418,10 @@ void validateAndFixConfig(void)
pgResetFn_serialConfig(serialConfigMutable()); pgResetFn_serialConfig(serialConfigMutable());
} }
#ifndef USE_GYRO_DATA_ANALYSE
featureClear(FEATURE_DYNAMIC_FILTER);
#endif
#if defined(TARGET_VALIDATECONFIG) #if defined(TARGET_VALIDATECONFIG)
targetValidateConfiguration(); targetValidateConfiguration();
#endif #endif