Fixed malformed comment.
--- a/master/module.c Wed Jul 06 16:37:40 2011 +0200
+++ b/master/module.c Mon Jul 25 10:29:48 2011 +0200
@@ -611,10 +611,10 @@
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 @@
}
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.