mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL_Empty: save a sliding window array of frequency bins
This commit is contained in:
parent
061ddf7a3f
commit
044aaf3004
@ -21,7 +21,7 @@
|
|||||||
class Empty::DSP : public AP_HAL::DSP {
|
class Empty::DSP : public AP_HAL::DSP {
|
||||||
#if HAL_WITH_DSP
|
#if HAL_WITH_DSP
|
||||||
public:
|
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 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; }
|
virtual uint16_t fft_analyse(FFTWindowState* state, uint16_t start_bin, uint16_t end_bin, float noise_att_cutoff) override { return 0; }
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user