summaryrefslogtreecommitdiff
path: root/src/components/alarm/AlarmController.h
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-04-16 22:18:31 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-04-16 23:38:29 (GMT)
commit3e5fddede322814c2fea7634c1bf0d5f93bae315 (patch)
tree17cf617a024a079c3baa98c590d16d58636236d8 /src/components/alarm/AlarmController.h
parentef830123ba6144ed253b4cf9fa8ec18c1b19c99a (diff)
Make Init methods more uniform among timer and alarm controllers
Diffstat (limited to 'src/components/alarm/AlarmController.h')
-rw-r--r--src/components/alarm/AlarmController.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/alarm/AlarmController.h b/src/components/alarm/AlarmController.h
index f4bfdd3..6ad220f 100644
--- a/src/components/alarm/AlarmController.h
+++ b/src/components/alarm/AlarmController.h
@@ -31,7 +31,6 @@ namespace Pinetime {
public:
AlarmController(Controllers::DateTime& dateTimeController);
- void Init(System::SystemTask* systemTask);
void SetAlarmTime(uint8_t alarmHr, uint8_t alarmMin);
void ScheduleAlarm();
void OnAdjustTime();
@@ -59,6 +58,7 @@ namespace Pinetime {
protected:
friend class Pinetime::System::SystemTask;
+ void Init(System::SystemTask* systemTask);
void OnStopRinging();
private: