Minor changes.
--- a/master/fsm_pdo_config.c Tue Feb 19 14:06:50 2008 +0000
+++ b/master/fsm_pdo_config.c Tue Feb 19 16:03:04 2008 +0000
@@ -181,10 +181,9 @@
}
}
- if (fsm->slave->master->debug_level) {
- EC_DBG("No more Pdos to configure for slave %u.\n",
+ if (fsm->slave->master->debug_level)
+ EC_DBG("Pdo configuration finished for slave %u.\n",
fsm->slave->ring_position);
- }
fsm->state = ec_fsm_pdo_config_state_end;
return;
--- a/master/fsm_pdo_config.h Tue Feb 19 14:06:50 2008 +0000
+++ b/master/fsm_pdo_config.h Tue Feb 19 16:03:04 2008 +0000
@@ -62,8 +62,8 @@
ec_slave_t *slave; /**< Slave the FSM runs on. */
const ec_pdo_t *pdo; /**< Current PDO to configure. */
+ const ec_pdo_entry_t *entry; /**< Current entry. */
- const ec_pdo_entry_t *entry; /**< Current entry. */
ec_sdo_data_t sdodata; /**< SDO configuration data. */
uint16_t sdo_value; /**< SDO value. */
unsigned int entry_count; /**< Number of configured entries. */