equal
deleted
inserted
replaced
46 int __init_%(location)s() |
46 int __init_%(location)s() |
47 { |
47 { |
48 %(init_entry_variables)s |
48 %(init_entry_variables)s |
49 *__IW%(location)s_0 = __MK_Alloc_AXIS_REF(); |
49 *__IW%(location)s_0 = __MK_Alloc_AXIS_REF(); |
50 __CIA402Node_%(location)s.axis = __MK_GetPublic_AXIS_REF(*__IW%(location)s_0); |
50 __CIA402Node_%(location)s.axis = __MK_GetPublic_AXIS_REF(*__IW%(location)s_0); |
|
51 __MK_Set_AXIS_REF_Pos(*__IW%(location)s_0, %(slave_pos)d); |
51 *(__CIA402Node_%(location)s.ModesOfOperation) = 0x08; |
52 *(__CIA402Node_%(location)s.ModesOfOperation) = 0x08; |
52 return 0; |
53 return 0; |
53 } |
54 } |
54 |
55 |
55 void __cleanup_%(location)s() |
56 void __cleanup_%(location)s() |