summaryrefslogtreecommitdiffstats
path: root/movement/movement.h
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2022-01-15 19:01:06 -0500
committerGitHub <noreply@github.com>2022-01-15 19:01:06 -0500
commit3be8b03c4fb4f1c48e8c2c90d300fd194ffe0a94 (patch)
tree1130f725ea412737c38c2bd53cfbc8332dfd67d4 /movement/movement.h
parent0c68b9fba520d0e28cf570eeeaee4e3207b9e21f (diff)
parent02c84dfd97c5f0d47f0675303bfc5d29738969e6 (diff)
downloadSensor-Watch-3be8b03c4fb4f1c48e8c2c90d300fd194ffe0a94.tar.gz
Sensor-Watch-3be8b03c4fb4f1c48e8c2c90d300fd194ffe0a94.tar.bz2
Sensor-Watch-3be8b03c4fb4f1c48e8c2c90d300fd194ffe0a94.zip
Merge pull request #29 from tahnok/countdown
Countdown
Diffstat (limited to 'movement/movement.h')
-rw-r--r--movement/movement.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/movement/movement.h b/movement/movement.h
index edb1fabc..3706b8db 100644
--- a/movement/movement.h
+++ b/movement/movement.h
@@ -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);