summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/move_cb.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_cb.c
parent9da0213a4a23c196af838a37351b8bfc152f4acd (diff)
Replaced the END state and the START state by a single state IDLE.
Diffstat (limited to 'digital/io/src/move_cb.c')
-rw-r--r--digital/io/src/move_cb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/digital/io/src/move_cb.c b/digital/io/src/move_cb.c
index 7a055e10..65ec02ea 100644
--- a/digital/io/src/move_cb.c
+++ b/digital/io/src/move_cb.c
@@ -16,15 +16,15 @@
/*
- * START =ok=>
+ * IDLE =start=>
* => DESIRED_POSITION
* Tries to reach a position provided by the user. If the position desired can not be reached, it all try to move on the right or the left.
*/
fsm_branch_t
-move__START__ok (void)
+move__IDLE__start (void)
{
asserv_goto (move_data.position_x, move_data.position_y);
- return move_next (START, ok);
+ return move_next (IDLE, start);
}
/*