diff -r 6f78c4ac22f9 -r 3a218f6bd805 etherlab/plc_etherlab.c --- 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) {