equal
deleted
inserted
replaced
90 case SDOrx: |
90 case SDOrx: |
91 if (d->CurrentCommunicationState.csSDO) |
91 if (d->CurrentCommunicationState.csSDO) |
92 proceedSDO(d,m); |
92 proceedSDO(d,m); |
93 break; |
93 break; |
94 case NODE_GUARD: |
94 case NODE_GUARD: |
95 if (d->CurrentCommunicationState.csHeartbeat) |
95 if (d->CurrentCommunicationState.csLifeGuard) |
96 proceedNODE_GUARD(d,m); |
96 proceedNODE_GUARD(d,m); |
97 break; |
97 break; |
98 case NMT: |
98 case NMT: |
99 if (*(d->iam_a_slave)) |
99 if (*(d->iam_a_slave)) |
100 { |
100 { |
140 #ifdef CO_ENABLE_LSS |
140 #ifdef CO_ENABLE_LSS |
141 StartOrStop(csLSS, startLSS(d), stopLSS(d)) |
141 StartOrStop(csLSS, startLSS(d), stopLSS(d)) |
142 #endif |
142 #endif |
143 StartOrStop(csSDO, None, resetSDO(d)) |
143 StartOrStop(csSDO, None, resetSDO(d)) |
144 StartOrStop(csSYNC, startSYNC(d), stopSYNC(d)) |
144 StartOrStop(csSYNC, startSYNC(d), stopSYNC(d)) |
145 StartOrStop(csHeartbeat, heartbeatInit(d), heartbeatStop(d)) |
145 StartOrStop(csLifeGuard, lifeGuardInit(d), lifeGuardStop(d)) |
146 StartOrStop(csEmergency, emergencyInit(d), emergencyStop(d)) |
146 StartOrStop(csEmergency, emergencyInit(d), emergencyStop(d)) |
147 StartOrStop(csPDO, PDOInit(d), PDOStop(d)) |
147 StartOrStop(csPDO, PDOInit(d), PDOStop(d)) |
148 StartOrStop(csBoot_Up, None, slaveSendBootUp(d)) |
148 StartOrStop(csBoot_Up, None, slaveSendBootUp(d)) |
149 } |
149 } |
150 |
150 |