summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/top.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/src/top.h')
-rw-r--r--digital/io/src/top.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/digital/io/src/top.h b/digital/io/src/top.h
index 78b83ce8..5e2da9b4 100644
--- a/digital/io/src/top.h
+++ b/digital/io/src/top.h
@@ -67,4 +67,15 @@ extern struct top_data_t top_data;
void
top_start (uint8_t team_color);
+/**
+ * Do we need to tell the top FSM the settings has been acknowledged?
+ * You need to call this function in the main loop to ensure we pass a
+ * requested event (settings_acknowledged) to the top FSM.
+ * @return
+ * - 0 if you do not need to generate the event for the top FSM ;
+ * - 1 if you need to generate the event.
+ */
+uint8_t
+top_generate_settings_ack_event (void);
+
#endif /* top_h */