Skip to content
Snippets Groups Projects
Commit d6ce2210 authored by Florian Pose's avatar Florian Pose
Browse files

Temporarily added some debug information.

parent 202b5294
No related branches found
No related tags found
No related merge requests found
...@@ -193,6 +193,7 @@ void ec_fsm_master_start(ec_fsm_t *fsm) ...@@ -193,6 +193,7 @@ void ec_fsm_master_start(ec_fsm_t *fsm)
ec_datagram_brd(&fsm->datagram, 0x0130, 2); ec_datagram_brd(&fsm->datagram, 0x0130, 2);
ec_master_queue_datagram(fsm->master, &fsm->datagram); ec_master_queue_datagram(fsm->master, &fsm->datagram);
fsm->master_state = ec_fsm_master_broadcast; 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 ...@@ -319,6 +320,8 @@ void ec_fsm_master_action_process_states(ec_fsm_t *fsm
ec_master_t *master = fsm->master; ec_master_t *master = fsm->master;
ec_slave_t *slave; ec_slave_t *slave;
char old_state[EC_STATE_STRING_SIZE], new_state[EC_STATE_STRING_SIZE]; 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 // check if any slaves are not in the state, they're supposed to be
list_for_each_entry(slave, &master->slaves, list) { list_for_each_entry(slave, &master->slaves, list) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment