Revert placement of arduinoFFT.h include as per comments on PR:60
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
#include <driver/i2s.h>
|
#include <driver/i2s.h>
|
||||||
#include <driver/adc.h>
|
#include <driver/adc.h>
|
||||||
#include <arduinoFFT.h>
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -314,6 +313,7 @@ static float windowWeighingFactors[samplesFFT] = {0.0f};
|
|||||||
// around 50% slower on -S2
|
// around 50% slower on -S2
|
||||||
// lib_deps += https://github.com/blazoncek/arduinoFFT.git
|
// lib_deps += https://github.com/blazoncek/arduinoFFT.git
|
||||||
#endif
|
#endif
|
||||||
|
#include <arduinoFFT.h>
|
||||||
|
|
||||||
#ifdef UM_AUDIOREACTIVE_USE_NEW_FFT
|
#ifdef UM_AUDIOREACTIVE_USE_NEW_FFT
|
||||||
static ArduinoFFT<float> FFT = ArduinoFFT<float>( vReal, vImag, samplesFFT, SAMPLE_RATE, windowWeighingFactors);
|
static ArduinoFFT<float> FFT = ArduinoFFT<float>( vReal, vImag, samplesFFT, SAMPLE_RATE, windowWeighingFactors);
|
||||||
|
|||||||
Reference in New Issue
Block a user