Minor changes.

This commit is contained in:
Florian Pose 2008-02-19 16:03:04 +00:00
parent ea7aa51ed1
commit 6be227879d
2 changed files with 3 additions and 4 deletions

View File

@ -181,10 +181,9 @@ void ec_fsm_pdo_config_next_pdo(
}
}
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;

View File

@ -62,8 +62,8 @@ struct ec_fsm_pdo_config
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. */
ec_sdo_data_t sdodata; /**< SDO configuration data. */
uint16_t sdo_value; /**< SDO value. */
unsigned int entry_count; /**< Number of configured entries. */