Adafruit_ZeroFFT icon indicating copy to clipboard operation
Adafruit_ZeroFFT copied to clipboard

Override ZERO_FFT_MAX

Open acumartini opened this issue 4 years ago • 1 comments

Hi all. Been really enjoying your products and supporting libs. I am a but new to C/++ code and am trying to override the ZERO_FFT_MAX define in the header. It does not have a #ifndef wrapper and I am unsure how to force the override.

I added this code to the header on line 32 and am able to use build flags to do the override:

#ifndef ZERO_FFT_MAX
#define ZERO_FFT_MAX 4096
#endif

Is there something I am missing and/or a correct way to do this?

Thanks!

acumartini avatar Apr 07 '20 15:04 acumartini