diff options
Diffstat (limited to 'src/components/timer/TimerController.h')
| -rw-r--r-- | src/components/timer/TimerController.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/components/timer/TimerController.h b/src/components/timer/TimerController.h index 1c2e44b6..1d2a51df 100644 --- a/src/components/timer/TimerController.h +++ b/src/components/timer/TimerController.h @@ -6,17 +6,10 @@ #include <chrono> namespace Pinetime { - namespace System { - class SystemTask; - } - namespace Controllers { - class TimerController { public: - TimerController() = default; - - void Init(System::SystemTask* systemTask); + TimerController(void* timerData, TimerCallbackFunction_t timerCallbackFunction); void StartTimer(std::chrono::milliseconds duration); @@ -26,10 +19,7 @@ namespace Pinetime { bool IsRunning(); - void OnTimerEnd(); - private: - System::SystemTask* systemTask = nullptr; TimerHandle_t timer; }; } |
