diff -r 4b64e17396af -r cfb4f62f35af examples/TestMasterSlaveLSS/Master.c --- a/examples/TestMasterSlaveLSS/Master.c Wed Feb 01 15:55:45 2012 +0100 +++ b/examples/TestMasterSlaveLSS/Master.c Tue Mar 27 15:16:26 2012 +0200 @@ -41,7 +41,7 @@ { UNS32 PDO1_COBID = 0x0182; UNS32 PDO2_COBID = 0x0183; - UNS8 size = sizeof(UNS32); + UNS32 size = sizeof(UNS32); eprintf("TestMaster_initialisation\n"); @@ -78,7 +78,7 @@ { UNS32 abortCode; if(getWriteResultNetworkDict (d, nodeId, &abortCode) != SDO_FINISHED) - eprintf("Master : Failed in initializing slave %2.2x, step %d, AbortCode :%4.4x \n", nodeId, init_step, abortCode); + eprintf("Master : Failed in initializing slave %2.2x, AbortCode :%4.4x \n", nodeId, abortCode); /* Finalise last SDO transfer with this node */ closeSDOtransfer(&TestMaster_Data, nodeId, SDO_CLIENT); @@ -126,7 +126,8 @@ 1, /*UNS8 count*/ 0, /*UNS8 dataType*/ &Transmission_Type,/*void *data*/ - CheckSDOAndContinue); /*SDOCallback_t Callback*/ + CheckSDOAndContinue, /*SDOCallback_t Callback*/ + 0); /*UNS8 useBlockMode*/ break; case 2: /* Second step : Set the new heartbeat producer time in the slave */ { @@ -141,7 +142,8 @@ 2, /*UNS8 count*/ 0, /*UNS8 dataType*/ &Slave_Prod_Heartbeat_T,/*void *data*/ - CheckSDOAndContinue); /*SDOCallback_t Callback*/ + CheckSDOAndContinue, /*SDOCallback_t Callback*/ + 0); /*UNS8 useBlockMode*/ break; /* Set the new heartbeat consumer time in the master*/