diff options
| author | Avamander <avamander@gmail.com> | 2021-04-18 17:28:14 (GMT) |
|---|---|---|
| committer | Avamander <avamander@gmail.com> | 2021-04-24 08:39:53 (GMT) |
| commit | 40d45d923b033363ff1304b47eac238dd4495a57 (patch) | |
| tree | 9e7b668fdf23a7be892b8e2bf8b4d62b884cee06 /src/components/heartrate/Ppg.h | |
| parent | e56ebb8bd621cc8838e86fa032d680a6e7a35ffc (diff) | |
Reformatted all the files according to clang-format style
Diffstat (limited to 'src/components/heartrate/Ppg.h')
| -rw-r--r-- | src/components/heartrate/Ppg.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/heartrate/Ppg.h b/src/components/heartrate/Ppg.h index 747ae01..51db758 100644 --- a/src/components/heartrate/Ppg.h +++ b/src/components/heartrate/Ppg.h @@ -7,7 +7,7 @@ namespace Pinetime { namespace Controllers { class Ppg { - public: + public: explicit Ppg(float spl); int Preprocess(float spl); @@ -16,7 +16,7 @@ namespace Pinetime { void SetOffset(uint16_t i); void Reset(); - private: + private: std::array<int, 200> data; size_t dataIndex = 0; float offset; @@ -24,7 +24,6 @@ namespace Pinetime { Ptagc agc; Biquad lpf; - float ProcessHeartRate(); }; } |
