--- a/plugins/canfestival/cf_runtime.c Wed Jun 25 17:01:07 2008 +0200
+++ b/plugins/canfestival/cf_runtime.c Wed Jun 25 17:09:24 2008 +0200
@@ -11,7 +11,6 @@
static int init_level=0;
extern int common_ticktime__;
-
static void Master_post_SlaveBootup(CO_Data* d, UNS8 nodeId)
{
/* Put the master in operational mode */
@@ -21,6 +20,8 @@
masterSendNMTstateChange (d, 0, NMT_Start_Node);
}
+%(slavebootups)s
+
#define NODE_INIT(nodename, nodeid) \
/* Artificially force sync state to 1 so that it is not started */\
nodename##_Data.CurrentCommunicationState.csSYNC = -1;\
@@ -65,7 +66,6 @@
}
#define NODE_OPEN(nodename)\
- nodename##_Data.post_SlaveBootup = Master_post_SlaveBootup;\
if(!canOpen(&nodename##Board,&nodename##_Data)){\
printf("Cannot open " #nodename " Board (%%s,%%s)\n",nodename##Board.busname, nodename##Board.baudrate);\
return -1;\