master/fsm_master.h
changeset 650 c68995623e94
parent 645 473ec2246ec1
child 652 15cff76b66c7
--- a/master/fsm_master.h	Mon Mar 12 11:02:05 2007 +0000
+++ b/master/fsm_master.h	Mon Mar 12 12:11:43 2007 +0000
@@ -81,6 +81,7 @@
     unsigned int retries; /**< retries on datagram timeout. */
 
     void (*state)(ec_fsm_master_t *); /**< master state function */
+    int idle; /**< state machine is in idle phase */
     unsigned int slaves_responding; /**< number of responding slaves */
     unsigned int topology_change_pending; /**< bus topology changed */
     ec_slave_state_t slave_states; /**< states of responding slaves */
@@ -104,7 +105,8 @@
 void ec_fsm_master_clear(ec_fsm_master_t *);
 
 int ec_fsm_master_exec(ec_fsm_master_t *);
-int ec_fsm_master_running(ec_fsm_master_t *);
+int ec_fsm_master_running(const ec_fsm_master_t *);
+int ec_fsm_master_idle(const ec_fsm_master_t *);
 
 /*****************************************************************************/