Fixed malformed comment.
authorFlorian Pose <fp@igh-essen.com>
Mon, 25 Jul 2011 10:29:48 +0200
changeset 2087 366de1369558
parent 2076 1baafcd263cc
child 2088 1a2c91815f2f
Fixed malformed comment.
master/module.c
--- 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.