wakeup_schedule_simple_robust: Check result twice to account for re-tests; change the set time in the_time from the scheduler to ensure time is accurate
This commit is contained in:
1 parent
38500b14d8
commit
1f9bcef899
3 files changed
+38
-35
No files matched your search
@@ -1,4 +1,13 @@
|
||||
#pragma once
|
||||
#include <pebble.h>
|
||||
|
||||
typedef struct TheTime {
|
||||
uint8_t HourWIP;
|
||||
uint8_t MinuteWIP;
|
||||
uint8_t HourSet;
|
||||
uint8_t MinuteSet;
|
||||
} __attribute__((__packed__)) TheTime;
|
||||
|
||||
struct TheTime the_time;
|
||||
|
||||
WakeupId wakeup_schedule_simple_robust(time_t wakeup_time, int8_t retry_diff, bool is_fallback);
|
||||
Reference in new issue
Block a user