diff -r bea5a1576cbd -r d2abf6c8c27b examples/DS401_Master/TestMasterMicroMod.c --- a/examples/DS401_Master/TestMasterMicroMod.c Fri Feb 01 18:01:36 2008 +0100 +++ b/examples/DS401_Master/TestMasterMicroMod.c Fri Feb 01 18:06:55 2008 +0100 @@ -42,7 +42,7 @@ /*****************************************************************************/ -void TestMaster_heartbeatError(UNS8 heartbeatID) +void TestMaster_heartbeatError(CO_Data* d, UNS8 heartbeatID) { eprintf("TestMaster_heartbeatError %d\n", heartbeatID); } @@ -52,7 +52,7 @@ * - setup master RPDO 1 to receive TPDO 1 from id 0x40 * - setup master TPDO 1 to send RPDO 1 to id 0x40 ********************************************************/ -void TestMaster_initialisation() +void TestMaster_initialisation(CO_Data* d) { UNS32 PDO1_COBID = 0x0180 + slavenodeid; UNS32 PDO2_COBID = 0x0200 + slavenodeid; @@ -303,7 +303,7 @@ } -void TestMaster_preOperational() +void TestMaster_preOperational(CO_Data* d) { eprintf("TestMaster_preOperational\n"); @@ -311,17 +311,17 @@ } -void TestMaster_operational() +void TestMaster_operational(CO_Data* d) { eprintf("TestMaster_operational\n"); } -void TestMaster_stopped() +void TestMaster_stopped(CO_Data* d) { eprintf("TestMaster_stopped\n"); } -void TestMaster_post_sync() +void TestMaster_post_sync(CO_Data* d) { DO++; @@ -345,7 +345,7 @@ eprintf("MicroMod Analogue In8: %d\n", AI8); } -void TestMaster_post_TPDO() +void TestMaster_post_TPDO(CO_Data* d) { // eprintf("TestMaster_post_TPDO\n"); }