summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/move.c
diff options
context:
space:
mode:
authorNélio Laranjeiro2008-04-17 23:53:47 +0200
committerNélio Laranjeiro2008-04-17 23:53:47 +0200
commitcf6e8293144792ff142d18b8b6a6a78804bb9b8a (patch)
treef5a66165d30434f29aaea50e6b6ecb05c5278ce1 /digital/io/src/move.c
parent9da0213a4a23c196af838a37351b8bfc152f4acd (diff)
Replaced the END state and the START state by a single state IDLE.
Diffstat (limited to 'digital/io/src/move.c')
-rw-r--r--digital/io/src/move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/digital/io/src/move.c b/digital/io/src/move.c
index b4155589..1f8addfc 100644
--- a/digital/io/src/move.c
+++ b/digital/io/src/move.c
@@ -46,7 +46,7 @@ move_start (uint32_t position_x, uint32_t position_y)
move_data.position_y = position_y;
/* Start the FSM. */
fsm_init (&move_fsm);
- fsm_handle_event (&move_fsm, MOVE_EVENT_ok);
+ fsm_handle_event (&move_fsm, MOVE_EVENT_start);
}
/** Verify if the position desired is in the table use when the robot tries to