From cf6e8293144792ff142d18b8b6a6a78804bb9b8a Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Thu, 17 Apr 2008 23:53:47 +0200 Subject: Replaced the END state and the START state by a single state IDLE. --- digital/io/src/move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'digital/io/src/move.c') 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 -- cgit v1.2.3