Add movement_cancel_background_task

Provide a way for a scheduled background task to be cancelled
This commit is contained in:
Wesley Ellis
2022-01-01 14:13:04 -05:00
parent 311cfdb5f4
commit 37ff7b9c26
2 changed files with 16 additions and 0 deletions

View File

@@ -258,6 +258,10 @@ void movement_request_tick_frequency(uint8_t freq);
// movement will associate the scheduled task with the currently active face.
void movement_schedule_background_task(watch_date_time date_time);
// note: watch faces can only cancel their background task when in the foreground, since
// movement will associate the scheduled task with the currently active face.
void movement_cancel_background_task(void);
void movement_play_signal(void);
void movement_play_alarm(void);