d?placement de l'envoi du bootup
authordejoigny
Thu, 18 May 2006 16:26:59 +0200
changeset 14 1fbdf88163b3
parent 13 0e43acff2c96
child 15 e930a0e817de
d?placement de l'envoi du bootup
src/states.c
--- a/src/states.c	Wed May 17 20:43:56 2006 +0200
+++ b/src/states.c	Thu May 18 16:26:59 2006 +0200
@@ -95,12 +95,12 @@
 
 void switchCommunicationState(CO_Data* d, s_state_communication *newCommunicationState)
 {
-	StartOrStop(csBoot_Up,	None,	slaveSendBootUp(d))
 	StartOrStop(csSDO,	None,		resetSDO(d))
 	StartOrStop(csSYNC,	startSYNC(d),		stopSYNC(d))
 	StartOrStop(csHeartbeat,	heartbeatInit(d),	heartbeatStop(d))
 //	StartOrStop(Emergency,,)
 	StartOrStop(csPDO,	None,	None)
+	StartOrStop(csBoot_Up,	None,	slaveSendBootUp(d))
 }
 
 UNS8 setState(CO_Data* d, e_nodeState newState)