examples/TestMasterSlave/TestMasterSlave.c
changeset 161 c4908cc776a9
parent 156 515d11cb496e
child 169 90c0a676e631
equal deleted inserted replaced
160:636d875c85dd 161:c4908cc776a9
   197 		TestSlave_Data.preOperational = TestSlave_preOperational;
   197 		TestSlave_Data.preOperational = TestSlave_preOperational;
   198 		TestSlave_Data.operational = TestSlave_operational;
   198 		TestSlave_Data.operational = TestSlave_operational;
   199 		TestSlave_Data.stopped = TestSlave_stopped;
   199 		TestSlave_Data.stopped = TestSlave_stopped;
   200 		TestSlave_Data.post_sync = TestSlave_post_sync;
   200 		TestSlave_Data.post_sync = TestSlave_post_sync;
   201 		TestSlave_Data.post_TPDO = TestSlave_post_TPDO;
   201 		TestSlave_Data.post_TPDO = TestSlave_post_TPDO;
       
   202 		TestSlave_Data.storeODSubIndex = TestSlave_storeODSubIndex;		
   202 
   203 
   203 		if(!canOpen(&SlaveBoard,&TestSlave_Data)){
   204 		if(!canOpen(&SlaveBoard,&TestSlave_Data)){
   204 			eprintf("Cannot open Slave Board (%s,%s)\n",SlaveBoard.busname, SlaveBoard.baudrate);
   205 			eprintf("Cannot open Slave Board (%s,%s)\n",SlaveBoard.busname, SlaveBoard.baudrate);
   205 			goto fail_slave;
   206 			goto fail_slave;
   206 		}
   207 		}