diff options
| author | mark9064 <30447455+mark9064@users.noreply.github.com> | 2025-06-18 14:09:57 +0100 |
|---|---|---|
| committer | mark9064 <30447455+mark9064@users.noreply.github.com> | 2025-11-05 10:34:49 +0000 |
| commit | 8daddf87782c1228a44528da6f67d8dfce3edb40 (patch) | |
| tree | dead2a56c55f5eec74c70f42389c89e379aa4ce7 /src/components/heartrate/HeartRateController.h | |
| parent | 04afd22943cf4d6a826e09cf5fd246886ee7cacf (diff) | |
Background heartrate measurement
Co-Authored-By: Patric Gruber <me@patric-gruber.at>
Diffstat (limited to 'src/components/heartrate/HeartRateController.h')
| -rw-r--r-- | src/components/heartrate/HeartRateController.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/heartrate/HeartRateController.h b/src/components/heartrate/HeartRateController.h index f66c79f8..5bd3a8ef 100644 --- a/src/components/heartrate/HeartRateController.h +++ b/src/components/heartrate/HeartRateController.h @@ -15,11 +15,11 @@ namespace Pinetime { namespace Controllers { class HeartRateController { public: - enum class States { Stopped, NotEnoughData, NoTouch, Running }; + enum class States : uint8_t { Stopped, NotEnoughData, NoTouch, Running }; HeartRateController() = default; - void Start(); - void Stop(); + void Enable(); + void Disable(); void Update(States newState, uint8_t heartRate); void SetHeartRateTask(Applications::HeartRateTask* task); |
