summaryrefslogtreecommitdiff
path: root/digital/io/src/main.h
diff options
context:
space:
mode:
authorJérémy Dufour2008-05-01 01:08:56 +0200
committerJérémy Dufour2008-05-01 01:08:56 +0200
commited51ec3c5eb23aecb3a93b02814acf655ff62a0c (patch)
tree4035c8643efae11ef9229d3b14b9eb4a5843eaaf /digital/io/src/main.h
parent6c24ad4df20a1270dd15aac0314b1d68ca167eef (diff)
* digital/io/src
- enhance move FSM with support to stop when there is no valid path found to avoid the obstacle ; - add a flag to be notified from the main loop after a certain amount of time.
Diffstat (limited to 'digital/io/src/main.h')
-rw-r--r--digital/io/src/main.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/digital/io/src/main.h b/digital/io/src/main.h
index 24359c6d..96efb10a 100644
--- a/digital/io/src/main.h
+++ b/digital/io/src/main.h
@@ -40,4 +40,12 @@ extern uint8_t main_post_event_for_top_fsm;
*/
extern uint16_t main_sharp_ignore_event;
+/**
+ * Post an event for the main loop to wake up the move FSM in a certain count
+ * of cycles.
+ * This flag is used by the move FSM to wait a certain amount of time before
+ * checking on the sharps again.
+ */
+extern uint16_t main_move_wait_cycle;
+
#endif /* main_h */