summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/chrono.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/src/chrono.h')
-rw-r--r--digital/io/src/chrono.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/digital/io/src/chrono.h b/digital/io/src/chrono.h
index fc715d6d..f8a5a308 100644
--- a/digital/io/src/chrono.h
+++ b/digital/io/src/chrono.h
@@ -64,4 +64,14 @@ chrono_is_match_over (void);
void
chrono_end_match (uint8_t block);
+/**
+ * Are we near the end of the match.
+ * This function tell you when there is not much time remaining.
+ * @return
+ * - 0 not near the end of the match
+ * - 1 near the end of the match
+ */
+uint8_t
+chrono_near_end_match (void);
+
#endif /* chrono_h */