From d6ce22107b8074ca75e257917c016c77acb5a53c Mon Sep 17 00:00:00 2001 From: Florian Pose <fp@igh-essen.com> Date: Tue, 9 Jan 2007 14:12:37 +0000 Subject: [PATCH] Temporarily added some debug information. --- master/fsm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/master/fsm.c b/master/fsm.c index 9d8e5c98..b94123eb 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) { -- GitLab