From b56c60868e84d729a4fd76ff5739a08b87153728 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Sat, 22 Oct 2022 13:16:46 -0500 Subject: allow watch faces to schedule tasks from background --- movement/movement.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'movement/movement.h') diff --git a/movement/movement.h b/movement/movement.h index a013a861..79222e8c 100644 --- a/movement/movement.h +++ b/movement/movement.h @@ -292,6 +292,10 @@ 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); +// these functions should work around the limitation of the above functions, which will be deprecated. +void movement_schedule_background_task_for_face(uint8_t watch_face_index, watch_date_time date_time); +void movement_cancel_background_task_for_face(uint8_t watch_face_index); + void movement_request_wake(void); void movement_play_signal(void); -- cgit v1.2.3