summaryrefslogtreecommitdiff
path: root/src/components/alarm/AlarmController.h
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-04-16 11:31:57 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-04-16 11:31:57 (GMT)
commitc9808e29f1bbfbd1396d7b83212f6d223d52f99d (patch)
tree74ad0edeb29269460833ce6c7863fa1fc6ca2069 /src/components/alarm/AlarmController.h
parent1d48a97f09104e6b26159622d1631c781498e6f3 (diff)
Run ScheduleAlarm from System task events only.
Diffstat (limited to 'src/components/alarm/AlarmController.h')
-rw-r--r--src/components/alarm/AlarmController.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/alarm/AlarmController.h b/src/components/alarm/AlarmController.h
index fb33edb..3c66775 100644
--- a/src/components/alarm/AlarmController.h
+++ b/src/components/alarm/AlarmController.h
@@ -38,6 +38,7 @@ namespace Pinetime {
void SetOffAlarmNow();
uint32_t SecondsToAlarm();
void StopAlerting();
+ void OnStopRinging();
enum class AlarmState { Not_Set, Set, Alerting };
enum class RecurType { None, Daily, Weekdays };
uint8_t Hours() const {