From f416af1eeed92e9508744544e39983af82479965 Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Mon, 18 May 2009 22:29:25 +0200 Subject: * digital/io/src: - fix event sent to the wrong FSM, - start top FSM, - rewrite event generated by move FSM when its finished, - init FSM generates an event when the match start, - init FSM starts the chrono when the match start, - top FSM now uses the event generated by the init FSM to know when the match start and not the jack states. --- digital/io/src/init.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'digital/io/src/init.h') diff --git a/digital/io/src/init.h b/digital/io/src/init.h index 99de38f4..ef3074fb 100644 --- a/digital/io/src/init.h +++ b/digital/io/src/init.h @@ -30,4 +30,10 @@ */ #define INIT_DIST (PG_START_ZONE_LENGTH - BOT_LENGTH - 50) +/** + * The match begin! + * This variable is set to 1 when the match start. + */ +extern uint8_t init_match_is_started; + #endif /* init_h */ -- cgit v1.2.3