etherlab/plc_etherlab.c
changeset 2039 3a218f6bd805
parent 2036 7c31fab22c74
child 2075 21eb91dc7071
--- a/etherlab/plc_etherlab.c	Sun Mar 11 19:32:44 2012 +0100
+++ b/etherlab/plc_etherlab.c	Sun Mar 11 21:53:35 2012 +0100
@@ -52,7 +52,8 @@
 int __init_%(location)s(int argc,char **argv)
 {
     uint32_t abort_code;
-    int rtstatus;
+    size_t result_size;
+    int i, rtstatus;
     
 	MstrAttach.masterindex = %(master_number)d;
 
@@ -76,6 +77,8 @@
 
 %(slaves_initialization)s
 
+%(slaves_output_pdos_default_values_extraction)s
+
     sprintf(&rt_dev_file[0],"%%s%%u",EC_RTDM_DEV_FILE_NAME,0);
     rt_fd = rt_dev_open( &rt_dev_file[0], 0);
     if (rt_fd < 0) {