only:changing includes
This commit is contained in:
parent
157d877e76
commit
c2327e54fa
|
@ -5,6 +5,10 @@
|
|||
#include <vector>
|
||||
#include <complex>
|
||||
|
||||
#if EFI_UNIT_TEST
|
||||
typedef uint16_t adcsample_t;
|
||||
#endif
|
||||
|
||||
namespace fft {
|
||||
|
||||
typedef float real_type;
|
||||
|
@ -24,6 +28,5 @@ void blackmanharris(float * w, unsigned n, bool sflag);
|
|||
|
||||
float get_main_freq(float* amplitudes, float* frequencies);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#include "fft.hpp"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#ifdef KNOCK_SPECTROGRAM
|
||||
#include "development/knock_spectrogram.h"
|
||||
#include "fft/fft.h"
|
||||
#include "fft/fft.hpp"
|
||||
|
||||
struct SpectrogramData {
|
||||
fft::complex_type fftBuffer[KNOCK_SIZE];
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
#include "pch.h"
|
||||
#include <cstdint>
|
||||
|
||||
#include "fft/fft.h"
|
||||
|
||||
void initSoftwareKnock();
|
||||
void knockSamplingCallback(uint8_t cylinderIndex, efitick_t nowNt);
|
||||
|
||||
|
|
Loading…
Reference in New Issue