diff options
| author | Jean-François Milants <jf@codingfield.com> | 2021-01-17 15:33:45 (GMT) |
|---|---|---|
| committer | Jean-François Milants <jf@codingfield.com> | 2021-01-17 15:33:45 (GMT) |
| commit | 3a3a14115a81b9dd2c6f839c0ad1b14d04367642 (patch) | |
| tree | 1d3572d42e872a0f6151a2d2c5acfdcb19c96643 /src/components/heartrate/Ppg.cpp | |
| parent | 04063cf0af29e09946bf3d1fa77ae91235cd8b84 (diff) | |
Add License/copyright info in HR related files.
Diffstat (limited to 'src/components/heartrate/Ppg.cpp')
| -rw-r--r-- | src/components/heartrate/Ppg.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/heartrate/Ppg.cpp b/src/components/heartrate/Ppg.cpp index 27617c1..233c300 100644 --- a/src/components/heartrate/Ppg.cpp +++ b/src/components/heartrate/Ppg.cpp @@ -1,10 +1,16 @@ +/* + SPDX-License-Identifier: LGPL-3.0-or-later + Original work Copyright (C) 2020 Daniel Thompson + C++ port Copyright (C) 2021 Jean-François Milants +*/ + #include <vector> #include <nrf_log.h> #include "Ppg.h" using namespace Pinetime::Controllers; +/** Original implementation from wasp-os : https://github.com/daniel-thompson/wasp-os/blob/master/wasp/ppg.py */ namespace { - // TODO no vector! int Compare(int* d1, int* d2, size_t count) { int e = 0; for(int i = 0; i < count; i++) { |
