summaryrefslogtreecommitdiff
path: root/digital/io/src/top.c
diff options
context:
space:
mode:
authorJérémy Dufour2008-04-21 23:56:48 +0200
committerJérémy Dufour2008-04-21 23:56:48 +0200
commit12161ca13b40cac3d181f475f08f05665ca81401 (patch)
treee32fd522831a59874514fc53cfb9138da399e386 /digital/io/src/top.c
parent94f06205a8a95bc9b03109329d84410967ba12b4 (diff)
* digital/io/src
- start top FSM does not require the team color anymore (it is managed in the top FSM itself) ; - start top FSM into the main init.
Diffstat (limited to 'digital/io/src/top.c')
-rw-r--r--digital/io/src/top.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/digital/io/src/top.c b/digital/io/src/top.c
index 6d8ab268..dbbe4892 100644
--- a/digital/io/src/top.c
+++ b/digital/io/src/top.c
@@ -37,15 +37,12 @@ uint8_t top_waiting_for_settings_ack_ = 0;
/** Start a main FSM. */
void
-top_start (uint8_t color_team)
+top_start (void)
{
/* Set parameters. */
top_data.sequence = 0x15;
top_data.boxes_used = 0x0;
top_data.sequence_to_do = 0x15;
- /* Get the team color.
- * !! I supose that the 0 value is 0 and red value is 1 */
- top_data.team_color = color_team;
/* Start the FSM. */
fsm_init (&top_fsm);
fsm_handle_event (&top_fsm, TOP_EVENT_start);