summaryrefslogtreecommitdiff
path: root/src/components/timer/TimerController.h
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-04-15 21:40:22 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-04-15 21:47:27 (GMT)
commit59f59c5f9c929307ed42abafb30f7b7e2b4081f0 (patch)
tree7955fcbfca1bb48200782f8d697e66001d01d7cb /src/components/timer/TimerController.h
parent83d1b6de1366d66de14cadfb398b9ba4891bfe56 (diff)
Mirror changes for timer App
Diffstat (limited to 'src/components/timer/TimerController.h')
-rw-r--r--src/components/timer/TimerController.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/timer/TimerController.h b/src/components/timer/TimerController.h
index fa7bc90..e44d3d9 100644
--- a/src/components/timer/TimerController.h
+++ b/src/components/timer/TimerController.h
@@ -1,5 +1,7 @@
#pragma once
+#include <FreeRTOS.h>
+#include <timers.h>
#include <cstdint>
#include "app_timer.h"
#include "portmacro_cmsis.h"
@@ -30,6 +32,7 @@ namespace Pinetime {
private:
System::SystemTask* systemTask = nullptr;
+ TimerHandle_t timerAppTimer;
TickType_t endTicks;
bool timerRunning = false;
};