diff options
Diffstat (limited to 'src/components/timer/TimerController.h')
| -rw-r--r-- | src/components/timer/TimerController.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/components/timer/TimerController.h b/src/components/timer/TimerController.h deleted file mode 100644 index 1d2a51df..00000000 --- a/src/components/timer/TimerController.h +++ /dev/null @@ -1,26 +0,0 @@ -#pragma once - -#include <FreeRTOS.h> -#include <timers.h> - -#include <chrono> - -namespace Pinetime { - namespace Controllers { - class TimerController { - public: - TimerController(void* timerData, TimerCallbackFunction_t timerCallbackFunction); - - void StartTimer(std::chrono::milliseconds duration); - - void StopTimer(); - - std::chrono::milliseconds GetTimeRemaining(); - - bool IsRunning(); - - private: - TimerHandle_t timer; - }; - } -} |
