summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/top.h
diff options
context:
space:
mode:
authorJérémy Dufour2008-04-21 23:56:26 +0200
committerJérémy Dufour2008-04-21 23:56:26 +0200
commit94f06205a8a95bc9b03109329d84410967ba12b4 (patch)
tree86a1ca17c097b3504b0a6c7fcba516725fb31661 /digital/io/src/top.h
parentb814bc2ab370832431d3fa659521949482aa2180 (diff)
* digital/io/src
- resetting of asserv parameters is now a separate state in order to get the acknowledge from the asserv board ; - integrate the handle of this event into the main loop.
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 */