made analyze_fft2048_iq_F32 Teensy 4.x only

pull/6/merge
boblark 4 years ago
parent 9e59d4b80b
commit 068bca57c3
  1. 5
      analyze_fft2048_iq_F32.cpp
  2. 3
      analyze_fft2048_iq_F32.h

@ -38,6 +38,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
// ******************* TEENSY 4.x ONLY *******************
#if defined(__IMXRT1062__)
#include <Arduino.h> #include <Arduino.h>
#include "analyze_fft2048_iq_F32.h" #include "analyze_fft2048_iq_F32.h"
@ -235,3 +239,4 @@ void AudioAnalyzeFFT2048_IQ_F32::update(void) {
break; // From case 15 break; // From case 15
} // End of switch & case 15 } // End of switch & case 15
} // End update() } // End update()
#endif

@ -95,6 +95,8 @@
#define analyze_fft2048iq_h_ #define analyze_fft2048iq_h_
// *************** TEENSY 4.X ONLY **************** // *************** TEENSY 4.X ONLY ****************
// Use 1024 size, or smaller, for Teensy 3.x
#if defined(__IMXRT1062__)
#include "Arduino.h" #include "Arduino.h"
#include "AudioStream_F32.h" #include "AudioStream_F32.h"
@ -298,3 +300,4 @@ private:
} }
}; };
#endif #endif
#endif

Loading…
Cancel
Save