Minor changes.
This commit is contained in:
parent
ea7aa51ed1
commit
6be227879d
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue