Temporarily added some debug information.
authorFlorian Pose <fp@igh-essen.com>
Tue, 09 Jan 2007 14:12:37 +0000
changeset 521 a25593417791
parent 520 d778acff9592
child 522 de914aa62273
Temporarily added some debug information.
master/fsm.c
--- a/master/fsm.c	Tue Jan 09 13:57:34 2007 +0000
+++ b/master/fsm.c	Tue Jan 09 14:12:37 2007 +0000
@@ -193,6 +193,7 @@
     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 @@
     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) {