From ed51ec3c5eb23aecb3a93b02814acf655ff62a0c Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Thu, 1 May 2008 01:08:56 +0200 Subject: * 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. --- digital/io/src/main.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'digital/io/src/main.h') 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 */ -- cgit v1.2.3