# HG changeset patch # User Florian Pose # Date 1209125816 0 # Node ID d13004440b6d4269ec95895550ba141c3b396c4d # Parent ad703091a32b7d53954e5a81deb650c5220ebcf1 Improved a few debugging outputs. diff -r ad703091a32b -r d13004440b6d TODO --- 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. diff -r ad703091a32b -r d13004440b6d master/fsm_coe_map.c --- 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; diff -r ad703091a32b -r d13004440b6d master/fsm_slave_scan.c --- 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; }