diff options
Diffstat (limited to 'src/components/timer/TimerController.h')
| -rw-r--r-- | src/components/timer/TimerController.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/timer/TimerController.h b/src/components/timer/TimerController.h index 8542987..cdd78ec 100644 --- a/src/components/timer/TimerController.h +++ b/src/components/timer/TimerController.h @@ -16,7 +16,6 @@ namespace Pinetime { public: TimerController() = default; - void Init(); void StartTimer(uint32_t duration); void StopTimer(); void StopAlerting(); @@ -29,8 +28,9 @@ namespace Pinetime { } void OnTimerEnd(); - - void Register(System::SystemTask* systemTask); + protected: + friend class Pinetime::System::SystemTask; + void Init(System::SystemTask* systemTask); private: System::SystemTask* systemTask = nullptr; |
