Fixed malformed comment.
This commit is contained in:
parent
0568023c52
commit
7416eb4216
|
|
@ -611,10 +611,10 @@ unsigned int ecrt_version_magic(void)
|
|||
return ECRT_VERSION_MAGIC;
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
/** Return pointer to running master
|
||||
/*****************************************************************************/
|
||||
*/
|
||||
ec_master_t *ecrt_attach_master(unsigned int master_index)
|
||||
{
|
||||
ec_master_t *master = NULL;
|
||||
|
|
@ -627,21 +627,16 @@ ec_master_t *ecrt_attach_master(unsigned int master_index)
|
|||
}
|
||||
|
||||
master = &masters[master_index];
|
||||
if (master->reserved)
|
||||
{
|
||||
if (master->reserved) {
|
||||
// ok master is attached
|
||||
EC_INFO("attaching Master %u!\n", master_index);
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
EC_ERR("No Master %u in use!\n", master_index);
|
||||
master = NULL;
|
||||
}
|
||||
return master;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
/** Global request state type translation table.
|
||||
|
|
|
|||
Loading…
Reference in New Issue