Fixed malformed comment.

This commit is contained in:
Florian Pose 2011-07-25 10:29:48 +02:00
parent 0568023c52
commit 7416eb4216
1 changed files with 4 additions and 9 deletions

View File

@ -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.