add Exit function and StopTimerLoop arg to match with recent changes in CanFestival
authorgreg
Tue, 06 May 2008 15:22:18 +0200
changeset 144 7818ec7b5c53
parent 143 fd4a5c0cca2d
child 145 94855f7b08a9
add Exit function and StopTimerLoop arg to match with recent changes in CanFestival
plugins/canfestival/cf_runtime.c
--- a/plugins/canfestival/cf_runtime.c	Wed Apr 16 14:27:12 2008 +0200
+++ b/plugins/canfestival/cf_runtime.c	Tue May 06 15:22:18 2008 +0200
@@ -46,6 +46,10 @@
     %(nodes_init)s
 }
 
+void Exit(CO_Data* d, UNS32 id)
+{
+}
+
 #define NODE_CLOSE(nodename) \
     if(init_level-- > 0)\
     {\
@@ -61,7 +65,7 @@
     
     // Stop timer thread
     if(init_level-- > 0)
-        StopTimerLoop();
+        StopTimerLoop(&Exit);
 
 }