From 044aaf30044aa6d18909fc44b393238606020173 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Sat, 12 Mar 2022 14:46:36 +0000 Subject: [PATCH] AP_HAL_Empty: save a sliding window array of frequency bins --- libraries/AP_HAL_Empty/DSP.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_Empty/DSP.h b/libraries/AP_HAL_Empty/DSP.h index d546b0acdb..708a367e9a 100644 --- a/libraries/AP_HAL_Empty/DSP.h +++ b/libraries/AP_HAL_Empty/DSP.h @@ -21,7 +21,7 @@ class Empty::DSP : public AP_HAL::DSP { #if HAL_WITH_DSP public: - virtual FFTWindowState* fft_init(uint16_t window_size, uint16_t sample_rate) override { return nullptr; } + virtual FFTWindowState* fft_init(uint16_t window_size, uint16_t sample_rate, uint8_t sliding_window_size) override { return nullptr; } virtual void fft_start(FFTWindowState* state, FloatBuffer& samples, uint16_t advance) override {} virtual uint16_t fft_analyse(FFTWindowState* state, uint16_t start_bin, uint16_t end_bin, float noise_att_cutoff) override { return 0; } protected: