# HG changeset patch # User Florian Pose # Date 1311582588 -7200 # Node ID 366de1369558f45852e613a53d63806363e8b13f # Parent 1baafcd263cc51b9d1d44800a08c6f6898fd50e6 Fixed malformed comment. diff -r 1baafcd263cc -r 366de1369558 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.