Improved a few debugging outputs.
authorFlorian Pose <fp@igh-essen.com>
Fri, 25 Apr 2008 12:16:56 +0000
changeset 903 d13004440b6d
parent 902 ad703091a32b
child 904 ba6f222aa06e
Improved a few debugging outputs.
TODO
master/fsm_coe_map.c
master/fsm_slave_scan.c
--- a/TODO	Fri Apr 25 12:13:26 2008 +0000
+++ b/TODO	Fri Apr 25 12:16:56 2008 +0000
@@ -36,7 +36,6 @@
 * Check the position of the acknowledge state.
 * Remove the xmldev files.
 * Remove some debugging (add_sync_manager, clearing station addresses).
-* Rename "Scanning pdo mapping/configuration".
 * Separate CoE debugging.
 * Make ecrt_master_slave_config() return no error when slave is not present
   or invalid.
--- a/master/fsm_coe_map.c	Fri Apr 25 12:13:26 2008 +0000
+++ b/master/fsm_coe_map.c	Fri Apr 25 12:16:56 2008 +0000
@@ -209,7 +209,7 @@
     if (ec_fsm_coe_exec(fsm->fsm_coe)) return;
 
     if (!ec_fsm_coe_success(fsm->fsm_coe)) {
-        EC_ERR("Failed to read number of mapped Pdos from slave %u.\n",
+        EC_ERR("Failed to read number of assigned Pdos from slave %u.\n",
                 fsm->slave->ring_position);
         fsm->state = ec_fsm_coe_map_state_error;
         return;
--- a/master/fsm_slave_scan.c	Fri Apr 25 12:13:26 2008 +0000
+++ b/master/fsm_slave_scan.c	Fri Apr 25 12:16:56 2008 +0000
@@ -636,7 +636,7 @@
     ec_slave_t *slave = fsm->slave;
 
     if (slave->master->debug_level)
-        EC_DBG("Scanning Pdo mapping/configuration of slave %u.\n",
+        EC_DBG("Scanning Pdo assignment and mapping of slave %u.\n",
                 slave->ring_position);
     fsm->state = ec_fsm_slave_scan_state_pdos;
     ec_fsm_coe_map_start(fsm->fsm_coe_map, slave);
@@ -659,7 +659,7 @@
         return;
     }
 
-    // fetching of Pdo mapping finished
+    // fetching of Pdo assignment/mapping finished
     fsm->state = ec_fsm_slave_scan_state_end;
 }