diff --git a/libraries/AP_GyroFFT/AP_GyroFFT.h b/libraries/AP_GyroFFT/AP_GyroFFT.h index 19b501b719..115448227b 100644 --- a/libraries/AP_GyroFFT/AP_GyroFFT.h +++ b/libraries/AP_GyroFFT/AP_GyroFFT.h @@ -157,7 +157,7 @@ private: } private: - LowPassFilterFloat _lowpass_filter[XYZ_AXIS_COUNT]; + LowPassFilterConstDtFloat _lowpass_filter[XYZ_AXIS_COUNT]; FilterWithBuffer _median_filter[XYZ_AXIS_COUNT]; }; @@ -311,7 +311,7 @@ private: // smoothing filter on the bandwidth MedianLowPassFilter3dFloat _center_bandwidth_filter[FrequencyPeak::MAX_TRACKED_PEAKS]; // smoothing filter on the frequency fit - LowPassFilterFloat _harmonic_fit_filter[XYZ_AXIS_COUNT]; + LowPassFilterConstDtFloat _harmonic_fit_filter[XYZ_AXIS_COUNT]; // configured sampling rate uint16_t _fft_sampling_rate_hz;