Adafruit_ZeroFFT
Adafruit_ZeroFFT copied to clipboard
Override ZERO_FFT_MAX
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!