movement: wake programmatically from background and play alarm

This commit is contained in:
Joey Castillo
2022-07-17 00:22:03 -05:00
parent 8d7748b1ad
commit b234db74fe
2 changed files with 34 additions and 12 deletions

View File

@@ -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);