summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_slcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'watch-library/watch/watch_slcd.c')
-rw-r--r--watch-library/watch/watch_slcd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/watch-library/watch/watch_slcd.c b/watch-library/watch/watch_slcd.c
index 08f8c0e3..6c63d966 100644
--- a/watch-library/watch/watch_slcd.c
+++ b/watch-library/watch/watch_slcd.c
@@ -277,6 +277,10 @@ void watch_start_tick_animation(uint32_t duration) {
slcd_sync_start_animation(&SEGMENT_LCD_0, segs, 1, duration);
}
+bool watch_tick_animation_is_running() {
+ return hri_slcd_get_CTRLD_CSREN_bit(SLCD);
+}
+
void watch_stop_tick_animation() {
const uint32_t segs[] = { SLCD_SEGID(0, 2)};
slcd_sync_stop_animation(&SEGMENT_LCD_0, segs, 1);