summaryrefslogtreecommitdiffstats
path: root/movement/movement.h
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-07-17 00:22:03 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2022-07-17 00:23:38 -0500
commitb234db74fe3f70254860715cc4bb828a30290fb2 (patch)
tree4c3ecd6054b3f5790da2bd1faafad0f260b91d17 /movement/movement.h
parent8d7748b1ad37bd7c4866145bc0d0ddfa3ef61139 (diff)
downloadSensor-Watch-b234db74fe3f70254860715cc4bb828a30290fb2.tar.gz
Sensor-Watch-b234db74fe3f70254860715cc4bb828a30290fb2.tar.bz2
Sensor-Watch-b234db74fe3f70254860715cc4bb828a30290fb2.zip
movement: wake programmatically from background and play alarm
Diffstat (limited to 'movement/movement.h')
-rw-r--r--movement/movement.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/movement/movement.h b/movement/movement.h
index a29c4469..255db057 100644
--- a/movement/movement.h
+++ b/movement/movement.h
@@ -257,6 +257,7 @@ typedef struct {
// background task handling
bool needs_background_tasks_handled;
bool has_scheduled_background_task;
+ bool needs_wake;
// low energy mode countdown
int32_t le_mode_ticks;
@@ -287,6 +288,8 @@ void movement_schedule_background_task(watch_date_time date_time);
// movement will associate the scheduled task with the currently active face.
void movement_cancel_background_task(void);
+void movement_request_wake();
+
void movement_play_signal(void);
void movement_play_alarm(void);