Initial awareness alarm implementation
This commit is contained in:
1 parent
4ebc7ab3ad
commit
857e18e5cb
4 files changed
+81
-41
No files matched your search
+8
-1
@@ -1,6 +1,13 @@
|
||||
#pragma once
|
||||
#include <pebble.h>
|
||||
|
||||
typedef enum
|
||||
{
|
||||
MAIN_ALARM = 0,
|
||||
AWARENESS_ALARM = 1,
|
||||
RECOVERY_ALARM = 2
|
||||
} WakeupReason;
|
||||
|
||||
typedef struct TheTime {
|
||||
uint8_t HourWIP;
|
||||
uint8_t MinuteWIP;
|
||||
@@ -10,4 +17,4 @@ typedef struct TheTime {
|
||||
|
||||
struct TheTime the_time;
|
||||
|
||||
WakeupId wakeup_schedule_simple_robust(time_t wakeup_time, int8_t retry_diff, bool is_fallback);
|
||||
WakeupId wakeup_schedule_simple_robust(time_t wakeup_time, int8_t retry_diff, WakeupReason wakeup_reason);
|
||||
Reference in new issue
Block a user