equal
deleted
inserted
replaced
43 |
43 |
44 /*****************************************************************************/ |
44 /*****************************************************************************/ |
45 void TestMaster_heartbeatError(UNS8 heartbeatID) |
45 void TestMaster_heartbeatError(UNS8 heartbeatID) |
46 { |
46 { |
47 eprintf("TestMaster_heartbeatError %d\n", heartbeatID); |
47 eprintf("TestMaster_heartbeatError %d\n", heartbeatID); |
48 } |
|
49 |
|
50 /*****************************************************************************/ |
|
51 void TestMaster_SDOtimeoutError (UNS8 line) |
|
52 { |
|
53 eprintf("TestMaster_SDOtimeoutError %d\n", line); |
|
54 } |
48 } |
55 |
49 |
56 /******************************************************** |
50 /******************************************************** |
57 * ConfigureSlaveNode is responsible to |
51 * ConfigureSlaveNode is responsible to |
58 * - setup master RPDO 1 to receive TPDO 1 from id 0x40 |
52 * - setup master RPDO 1 to receive TPDO 1 from id 0x40 |
341 #ifndef NOT_USE_DYNAMIC_LOADING |
335 #ifndef NOT_USE_DYNAMIC_LOADING |
342 LoadCanDriver(LibraryPath); |
336 LoadCanDriver(LibraryPath); |
343 #endif |
337 #endif |
344 |
338 |
345 TestMaster_Data.heartbeatError = TestMaster_heartbeatError; |
339 TestMaster_Data.heartbeatError = TestMaster_heartbeatError; |
346 TestMaster_Data.SDOtimeoutError = TestMaster_SDOtimeoutError; |
|
347 TestMaster_Data.initialisation = TestMaster_initialisation; |
340 TestMaster_Data.initialisation = TestMaster_initialisation; |
348 TestMaster_Data.preOperational = TestMaster_preOperational; |
341 TestMaster_Data.preOperational = TestMaster_preOperational; |
349 TestMaster_Data.operational = TestMaster_operational; |
342 TestMaster_Data.operational = TestMaster_operational; |
350 TestMaster_Data.stopped = TestMaster_stopped; |
343 TestMaster_Data.stopped = TestMaster_stopped; |
351 TestMaster_Data.post_sync = TestMaster_post_sync; |
344 TestMaster_Data.post_sync = TestMaster_post_sync; |