--- a/master/fsm_change.c Mon Oct 23 13:45:09 2006 +0000
+++ b/master/fsm_change.c Mon Oct 23 14:00:58 2006 +0000
@@ -97,22 +97,13 @@
/**
Executes the current state of the state machine.
-*/
-
-void ec_fsm_change_exec(ec_fsm_change_t *fsm /**< finite state machine */)
+ \return false, if the state machine has terminated
+*/
+
+int ec_fsm_change_exec(ec_fsm_change_t *fsm /**< finite state machine */)
{
fsm->state(fsm);
-}
-
-/*****************************************************************************/
-
-/**
- Returns the running state of the state machine.
- \return non-zero if not terminated yet.
-*/
-
-int ec_fsm_change_running(ec_fsm_change_t *fsm /**< Finite state machine */)
-{
+
return fsm->state != ec_fsm_change_end
&& fsm->state != ec_fsm_change_error;
}