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/test/move/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'digital/io/src/test') diff --git a/digital/io/src/test/move/main.c b/digital/io/src/test/move/main.c index ea6eb4e4..e981b7f0 100644 --- a/digital/io/src/test/move/main.c +++ b/digital/io/src/test/move/main.c @@ -57,8 +57,8 @@ move_print_test (fsm_t *move) switch (move->state_current) { - case MOVE_STATE_END: - printf ("END"); + case MOVE_STATE_IDLE: + printf ("IDLE"); break; case MOVE_STATE_DESIRED_POSITION: printf ("DESIRED POSITION"); @@ -83,7 +83,7 @@ main (void) fsm_init (&move_fsm); - fsm_handle_event (&move_fsm, MOVE_EVENT_ok); + fsm_handle_event (&move_fsm, MOVE_EVENT_start); move_print_test (&move_fsm); -- cgit v1.2.3