Made gyro debug and no-debug code paths the identical (#5491)

This commit is contained in:
Andrey Mironov 2018-03-21 23:31:50 +03:00 committed by Michael Keller
parent 09f52d420d
commit b98bdcc3f8
1 changed files with 1 additions and 0 deletions

View File

@ -1012,6 +1012,7 @@ static FAST_CODE void gyroUpdateSensor(gyroSensor_t *gyroSensor, timeUs_t curren
// apply lowpass2 filter
gyroADCf = gyroSensor->lowpass2FilterApplyFn((filter_t *)&gyroSensor->lowpass2Filter[axis], gyroADCf);
gyroADCf = gyroSensor->lmaSmoothingApplyFn((filter_t *)&gyroSensor->lmaSmoothingFilter[axis], gyroADCf);
#ifdef USE_GYRO_DATA_ANALYSE
// apply dynamic notch filter