summaryrefslogtreecommitdiff
path: root/src/systemtask/SystemTask.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-01-10 21:02:21 (GMT)
committerJean-François Milants <jf@codingfield.com>2021-01-10 21:02:21 (GMT)
commitc82c22650cf7d7a8f31146345b9510cc6eabc5f8 (patch)
tree88b491ac49c6893dab0b30e522b77e9afc2678b0 /src/systemtask/SystemTask.h
parent1a582815ba218d2a9047abae92b9f33a3301ffd5 (diff)
HR Sensor : do not go to sleep when the HR app is running.
Diffstat (limited to 'src/systemtask/SystemTask.h')
-rw-r--r--src/systemtask/SystemTask.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/systemtask/SystemTask.h b/src/systemtask/SystemTask.h
index b93d0bc..e4eb8d4 100644
--- a/src/systemtask/SystemTask.h
+++ b/src/systemtask/SystemTask.h
@@ -28,7 +28,8 @@ namespace Pinetime {
class SystemTask {
public:
enum class Messages {GoToSleep, GoToRunning, OnNewTime, OnNewNotification, BleConnected,
- BleFirmwareUpdateStarted, BleFirmwareUpdateFinished, OnTouchEvent, OnButtonEvent, OnDisplayTaskSleeping
+ BleFirmwareUpdateStarted, BleFirmwareUpdateFinished, OnTouchEvent, OnButtonEvent, OnDisplayTaskSleeping,
+ HeartRateRunning, HeartRateStopped
};
SystemTask(Drivers::SpiMaster &spi, Drivers::St7789 &lcd,