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

Merge pull request #3945 from atomiclama/bf_validate

clear the DYNAMIC_FILTER if not enabled in code.
This commit is contained in:
borisbstyle 2017-08-24 17:10:15 +02:00 committed by GitHub
commit 60ed080fa2

View file

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