From df6bd29c4b37a0d1ffed7c4591484e49d9ca24ba Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Wed, 30 Apr 2008 01:38:38 +0200 Subject: * digital/io/src - rewrite the move FSM ; - integrate it into the main loop with the sharp and path module. --- digital/io/src/main.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'digital/io/src/main.h') diff --git a/digital/io/src/main.h b/digital/io/src/main.h index 40bf1f9d..24359c6d 100644 --- a/digital/io/src/main.h +++ b/digital/io/src/main.h @@ -33,4 +33,11 @@ */ extern uint8_t main_post_event_for_top_fsm; +/** + * Do not generate sharps event for FSM during a certain count of cycles. + * This flag is used by the move FSM to prevent it from being alerted by the + * main loop that there is an object in from of the bot. + */ +extern uint16_t main_sharp_ignore_event; + #endif /* main_h */ -- cgit v1.2.3