diff --git a/Examples/FFT_01/FFT_01.ino b/Examples/FFT_01/FFT_01.ino index 1f6b3da..82f8d8b 100644 --- a/Examples/FFT_01/FFT_01.ino +++ b/Examples/FFT_01/FFT_01.ino @@ -1,6 +1,6 @@ /* - Example of use of the FFT libray + Example of use of the FFT library Copyright (C) 2014 Enrique Condes Copyright (C) 2020 Bim Overbohm (template, speed improvements) diff --git a/Examples/FFT_02/FFT_02.ino b/Examples/FFT_02/FFT_02.ino index ebe8d5e..a699ae0 100644 --- a/Examples/FFT_02/FFT_02.ino +++ b/Examples/FFT_02/FFT_02.ino @@ -1,8 +1,8 @@ /* - Example of use of the FFT libray to compute FFT for several signals over a range of frequencies. - The exponent is calculated once before the excecution since it is a constant. - This saves resources during the excecution of the sketch and reduces the compiled size. + Example of use of the FFT library to compute FFT for several signals over a range of frequencies. + The exponent is calculated once before the execution since it is a constant. + This saves resources during the execution of the sketch and reduces the compiled size. The sketch shows the time that the computing is taking. Copyright (C) 2014 Enrique Condes diff --git a/Examples/FFT_03/FFT_03.ino b/Examples/FFT_03/FFT_03.ino index 0a76b34..acb7a3f 100644 --- a/Examples/FFT_03/FFT_03.ino +++ b/Examples/FFT_03/FFT_03.ino @@ -1,6 +1,6 @@ /* - Example of use of the FFT libray to compute FFT for a signal sampled through the ADC. + Example of use of the FFT library to compute FFT for a signal sampled through the ADC. Copyright (C) 2018 Enrique Condés and Ragnar Ranøyen Homb Copyright (C) 2020 Bim Overbohm (template, speed improvements) diff --git a/Examples/FFT_04/FFT_04.ino b/Examples/FFT_04/FFT_04.ino index 49ac3f6..adf36ef 100644 --- a/Examples/FFT_04/FFT_04.ino +++ b/Examples/FFT_04/FFT_04.ino @@ -1,6 +1,6 @@ /* - Example of use of the FFT libray + Example of use of the FFT library Copyright (C) 2018 Enrique Condes Copyright (C) 2020 Bim Overbohm (template, speed improvements) diff --git a/Examples/FFT_05/FFT_05.ino b/Examples/FFT_05/FFT_05.ino index ca3152e..b4bb2ec 100644 --- a/Examples/FFT_05/FFT_05.ino +++ b/Examples/FFT_05/FFT_05.ino @@ -1,6 +1,6 @@ /* - Example of use of the FFT libray + Example of use of the FFT library Copyright (C) 2014 Enrique Condes Copyright (C) 2020 Bim Overbohm (template, speed improvements) diff --git a/Examples/FFT_speedup/FFT_speedup.ino b/Examples/FFT_speedup/FFT_speedup.ino index e91a2fe..75ec6bc 100644 --- a/Examples/FFT_speedup/FFT_speedup.ino +++ b/Examples/FFT_speedup/FFT_speedup.ino @@ -1,6 +1,6 @@ /* - Example of use of the FFT libray to compute FFT for a signal sampled through the ADC + Example of use of the FFT library to compute FFT for a signal sampled through the ADC with speedup through different arduinoFFT options. Based on examples/FFT_03/FFT_03.ino Copyright (C) 2020 Bim Overbohm (template, speed improvements) diff --git a/library.json b/library.json index c9e5fe9..cca7541 100644 --- a/library.json +++ b/library.json @@ -25,7 +25,7 @@ "email": "bim.overbohm@googlemail.com" } ], - "version": "2.0", + "version": "2.0.1", "frameworks": ["arduino","mbed","espidf"], "platforms": "*", "headers": "arduinoFFT.h" diff --git a/library.properties b/library.properties index 5826255..176092a 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=arduinoFFT -version=2.0 +version=2.0.1 author=Enrique Condes maintainer=Enrique Condes sentence=A library for implementing floating point Fast Fourier Transform calculations on Arduino. diff --git a/src/arduinoFFT.h b/src/arduinoFFT.h index 5fb01d0..e8e1069 100644 --- a/src/arduinoFFT.h +++ b/src/arduinoFFT.h @@ -47,7 +47,9 @@ // This might only work for specific use cases, but is significantly faster. #ifndef FFT_SQRT_APPROXIMATION -#define sqrt_internal sqrt + #ifndef sqrt_internal + #define sqrt_internal sqrt + #endif #endif enum class FFTDirection { Forward, Reverse };