examples/TestMasterSlave/Master.c
changeset 149 fe50ada8020b
parent 0 4472ee7c6c3e
child 154 1b3165f2d17d
equal deleted inserted replaced
148:ad3de8730172 149:fe50ada8020b
    35 {
    35 {
    36 	eprintf("TestMaster_SDOtimeoutError %d\n", line);
    36 	eprintf("TestMaster_SDOtimeoutError %d\n", line);
    37 }
    37 }
    38 
    38 
    39 /*****************************************************************************/
    39 /*****************************************************************************/
    40 // CanSend store message in a FIFO, for Slave
       
    41 UNS8 TestMaster_canSend(Message *m)
       
    42 {
       
    43 	eprintf("M->S ");
       
    44 	print_message(m);
       
    45 	canSend(MasterCanHandle, m);
       
    46 	return 0;
       
    47 }
       
    48 
       
    49 void TestMaster_initialisation()
    40 void TestMaster_initialisation()
    50 {
    41 {
    51 	eprintf("TestMaster_initialisation\n");
    42 	eprintf("TestMaster_initialisation\n");
    52 }
    43 }
    53 
    44