aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/heartrate
diff options
context:
space:
mode:
authorFinlay Davidson <finlay.davidson@coderclass.nl>2023-05-28 03:03:49 +0200
committerJF <JF002@users.noreply.github.com>2023-06-17 17:46:48 +0200
commit505520d83b59e74cb567a3a1e6e55d910faec522 (patch)
treeb9f67465ea3e08156ab33440d5644b39c7a5e774 /src/components/heartrate
parent473a0795d6fbad10fcf769cae3095bb85aa86d59 (diff)
arduinofft: Move to submodule, define srqt_internal externally
Diffstat (limited to 'src/components/heartrate')
-rw-r--r--src/components/heartrate/Ppg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/heartrate/Ppg.h b/src/components/heartrate/Ppg.h
index 2f8a1faa..4492b2c2 100644
--- a/src/components/heartrate/Ppg.h
+++ b/src/components/heartrate/Ppg.h
@@ -5,8 +5,9 @@
#include <cstdint>
// Note: Change internal define 'sqrt_internal sqrt' to
// 'sqrt_internal sqrtf' to save ~3KB of flash.
+#define sqrt_internal sqrtf
#define FFT_SPEED_OVER_PRECISION
-#include "libs/arduinoFFT-develop/src/arduinoFFT.h"
+#include "libs/arduinoFFT/src/arduinoFFT.h"
namespace Pinetime {
namespace Controllers {