diff --git a/master/fsm.c b/master/fsm.c index 9d8e5c984ffd59fbca114d76ef61eaf3ee74c21e..b94123ebea3b950e3cbcbd7727d33e2ad480b4e4 100644 --- a/master/fsm.c +++ b/master/fsm.c @@ -193,6 +193,7 @@ void ec_fsm_master_start(ec_fsm_t *fsm) ec_datagram_brd(&fsm->datagram, 0x0130, 2); ec_master_queue_datagram(fsm->master, &fsm->datagram); fsm->master_state = ec_fsm_master_broadcast; + EC_DBG("master_start)\n"); } /*****************************************************************************/ @@ -319,6 +320,8 @@ void ec_fsm_master_action_process_states(ec_fsm_t *fsm ec_master_t *master = fsm->master; ec_slave_t *slave; char old_state[EC_STATE_STRING_SIZE], new_state[EC_STATE_STRING_SIZE]; + + EC_DBG("process_states()\n"); // check if any slaves are not in the state, they're supposed to be list_for_each_entry(slave, &master->slaves, list) {