# HG changeset patch # User Florian Pose # Date 1333747835 -7200 # Node ID 593272e5a169f9dc04844278781b612d151d4da2 # Parent d895cd1db2bf391023b9e9a57542fdf32600d065 Clarified fields of ec_master_state_t in redundancy case. diff -r d895cd1db2bf -r 593272e5a169 include/ecrt.h --- a/include/ecrt.h Mon Mar 19 10:43:09 2012 +0100 +++ b/include/ecrt.h Fri Apr 06 23:30:35 2012 +0200 @@ -183,7 +183,8 @@ * \see ecrt_master_state(). */ typedef struct { - unsigned int slaves_responding; /**< Number of slaves in the bus. */ + unsigned int slaves_responding; /**< Sum of responding slaves on all + Ethernet devices. */ unsigned int al_states : 4; /**< Application-layer states of all slaves. The states are coded in the lower 4 bits. If a bit is set, it means that at least one @@ -193,7 +194,8 @@ - Bit 1: \a PREOP - Bit 2: \a SAFEOP - Bit 3: \a OP */ - unsigned int link_up : 1; /**< \a true, if the network link is up. */ + unsigned int link_up : 1; /**< \a true, if at least one Ethernet link is + up. */ } ec_master_state_t; /*****************************************************************************/