summaryrefslogtreecommitdiffstats
path: root/movement/movement.h
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-01-15 19:27:24 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2022-01-15 19:27:24 -0500
commit5fccc24c985f765d33245d07d911e547fa9be30e (patch)
tree3a65395577c3472819d5b4be78f1d9ea1bbdc8e8 /movement/movement.h
parentbaf25aaa7a7f8ff673bbe805963b242c0eb52306 (diff)
parent3be8b03c4fb4f1c48e8c2c90d300fd194ffe0a94 (diff)
downloadSensor-Watch-5fccc24c985f765d33245d07d911e547fa9be30e.tar.gz
Sensor-Watch-5fccc24c985f765d33245d07d911e547fa9be30e.tar.bz2
Sensor-Watch-5fccc24c985f765d33245d07d911e547fa9be30e.zip
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
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 0e900771..e327bbdd 100644
--- a/movement/movement.h
+++ b/movement/movement.h
@@ -282,6 +282,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);