Removed genrated dead prototypes for depricated callbacks.
authoretisserant
Sun, 15 Apr 2007 00:46:40 +0200
changeset 160 636d875c85dd
parent 159 c7c84c68717b
child 161 c4908cc776a9
Removed genrated dead prototypes for depricated callbacks.
examples/TestMasterSlave/Master.h
examples/TestMasterSlave/Slave.h
examples/TestMasterSlave/TestMaster.h
examples/TestMasterSlave/TestSlave.h
objdictgen/gen_cfile.py
--- a/examples/TestMasterSlave/Master.h	Fri Apr 13 21:54:13 2007 +0200
+++ b/examples/TestMasterSlave/Master.h	Sun Apr 15 00:46:40 2007 +0200
@@ -1,1 +1,14 @@
 #include "TestMaster.h"
+
+void TestMaster_SDOtimeoutError(UNS8 line);
+void TestMaster_heartbeatError(UNS8);
+
+UNS8 TestMaster_canSend(Message *);
+
+void TestMaster_initialisation(void);
+void TestMaster_preOperational(void);
+void TestMaster_operational(void);
+void TestMaster_stopped(void);
+
+void TestMaster_post_sync(void);
+void TestMaster_post_TPDO(void);
--- a/examples/TestMasterSlave/Slave.h	Fri Apr 13 21:54:13 2007 +0200
+++ b/examples/TestMasterSlave/Slave.h	Sun Apr 15 00:46:40 2007 +0200
@@ -1,1 +1,15 @@
 #include "TestSlave.h"
+
+void TestSlave_SDOtimeoutError(UNS8 line);
+void TestSlave_heartbeatError(UNS8);
+
+UNS8 TestSlave_canSend(Message *);
+
+void TestSlave_initialisation(void);
+void TestSlave_preOperational(void);
+void TestSlave_operational(void);
+void TestSlave_stopped(void);
+
+void TestSlave_post_sync(void);
+void TestSlave_post_TPDO(void);
+void TestSlave_storeODSubIndex(UNS16 wIndex, UNS8 bSubindex);
--- a/examples/TestMasterSlave/TestMaster.h	Fri Apr 13 21:54:13 2007 +0200
+++ b/examples/TestMasterSlave/TestMaster.h	Sun Apr 15 00:46:40 2007 +0200
@@ -7,20 +7,6 @@
 UNS32 TestMaster_valueRangeTest (UNS8 typeValue, void * value);
 const indextable * TestMaster_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
 
-/* prototypes of function to be filled by app. */
-void TestMaster_SDOtimeoutError(UNS8 line);
-void TestMaster_heartbeatError(UNS8);
-
-UNS8 TestMaster_canSend(Message *);
-
-void TestMaster_initialisation(void);
-void TestMaster_preOperational(void);
-void TestMaster_operational(void);
-void TestMaster_stopped(void);
-
-void TestMaster_post_sync(void);
-void TestMaster_post_TPDO(void);
-
 /* Master node data struct */
 extern CO_Data TestMaster_Data;
 
--- a/examples/TestMasterSlave/TestSlave.h	Fri Apr 13 21:54:13 2007 +0200
+++ b/examples/TestMasterSlave/TestSlave.h	Sun Apr 15 00:46:40 2007 +0200
@@ -7,20 +7,6 @@
 UNS32 TestSlave_valueRangeTest (UNS8 typeValue, void * value);
 const indextable * TestSlave_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
 
-/* prototypes of function to be filled by app. */
-void TestSlave_SDOtimeoutError(UNS8 line);
-void TestSlave_heartbeatError(UNS8);
-
-UNS8 TestSlave_canSend(Message *);
-
-void TestSlave_initialisation(void);
-void TestSlave_preOperational(void);
-void TestSlave_operational(void);
-void TestSlave_stopped(void);
-
-void TestSlave_post_sync(void);
-void TestSlave_post_TPDO(void);
-
 /* Master node data struct */
 extern CO_Data TestSlave_Data;
 
--- a/objdictgen/gen_cfile.py	Fri Apr 13 21:54:13 2007 +0200
+++ b/objdictgen/gen_cfile.py	Sun Apr 15 00:46:40 2007 +0200
@@ -470,20 +470,6 @@
 UNS32 %(NodeName)s_valueRangeTest (UNS8 typeValue, void * value);
 const indextable * %(NodeName)s_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
 
-/* prototypes of function to be filled by app. */
-void %(NodeName)s_SDOtimeoutError(UNS8 line);
-void %(NodeName)s_heartbeatError(UNS8);
-
-UNS8 %(NodeName)s_canSend(Message *);
-
-void %(NodeName)s_initialisation(void);
-void %(NodeName)s_preOperational(void);
-void %(NodeName)s_operational(void);
-void %(NodeName)s_stopped(void);
-
-void %(NodeName)s_post_sync(void);
-void %(NodeName)s_post_TPDO(void);
-
 /* Master node data struct */
 extern CO_Data %(NodeName)s_Data;