src/states.c
changeset 754 4715f4ed8e0c
parent 750 bfb63ff7106e
equal deleted inserted replaced
748:18ed0f3b030a 754:4715f4ed8e0c
    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