From b234db74fe3f70254860715cc4bb828a30290fb2 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Sun, 17 Jul 2022 00:22:03 -0500 Subject: movement: wake programmatically from background and play alarm --- movement/movement.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'movement/movement.h') 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); -- cgit v1.2.3