From 1f683b94e626c34b70f7dd5cfbf7703e9be63b68 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 28 Apr 2013 19:18:58 +0200 Subject: digital/io-hub/src/common-cc: conditionally remove unused states after 566f78ca --- digital/io-hub/src/common-cc/init.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'digital/io-hub/src') diff --git a/digital/io-hub/src/common-cc/init.cc b/digital/io-hub/src/common-cc/init.cc index 9b3ce7ab..692bae14 100644 --- a/digital/io-hub/src/common-cc/init.cc +++ b/digital/io-hub/src/common-cc/init.cc @@ -50,12 +50,14 @@ FSM_STATES ( INIT_FINDING_SECOND_WALL, // Going away from the wall. INIT_GOING_AWAY_SECOND_WALL, -#ifdef INIT_START_POSITION_ANGLE +#if !INIT_START_SECOND_WALL +# ifdef INIT_START_POSITION_ANGLE // Facing the start position. INIT_FACING_START_POSITION, -#endif +# endif // Going to start position. INIT_GOING_TO_START_POSITION, +#endif // Waiting for the round start (waiting for the jack). INIT_WAITING_SECOND_JACK_OUT, // Initialisation finished, nothing else to do. -- cgit v1.2.3