equal
deleted
inserted
replaced
47 /* Beremiz plugin functions */ |
47 /* Beremiz plugin functions */ |
48 int __init_%(location)s(int argc,char **argv) |
48 int __init_%(location)s(int argc,char **argv) |
49 { |
49 { |
50 uint32_t abort_code; |
50 uint32_t abort_code; |
51 size_t result_size; |
51 size_t result_size; |
52 int i, rtstatus; |
52 int rtstatus; |
53 |
53 |
54 MstrAttach.masterindex = %(master_number)d; |
54 MstrAttach.masterindex = %(master_number)d; |
55 |
55 |
56 master = ecrt_request_master(MstrAttach.masterindex); |
56 master = ecrt_request_master(MstrAttach.masterindex); |
57 if (!master) return -1; |
57 if (!master) return -1; |