equal
deleted
inserted
replaced
56 sync->physical_start_address = 0x0000; |
56 sync->physical_start_address = 0x0000; |
57 sync->default_length = 0x0000; |
57 sync->default_length = 0x0000; |
58 sync->control_register = 0x00; |
58 sync->control_register = 0x00; |
59 sync->enable = 0x00; |
59 sync->enable = 0x00; |
60 ec_pdo_list_init(&sync->pdos); |
60 ec_pdo_list_init(&sync->pdos); |
61 sync->assign_source = EC_ASSIGN_NONE; |
|
62 } |
61 } |
63 |
62 |
64 /*****************************************************************************/ |
63 /*****************************************************************************/ |
65 |
64 |
66 /** Copy constructor. |
65 /** Copy constructor. |
75 sync->default_length = other->default_length; |
74 sync->default_length = other->default_length; |
76 sync->control_register = other->control_register; |
75 sync->control_register = other->control_register; |
77 sync->enable = other->enable; |
76 sync->enable = other->enable; |
78 ec_pdo_list_init(&sync->pdos); |
77 ec_pdo_list_init(&sync->pdos); |
79 ec_pdo_list_copy(&sync->pdos, &other->pdos); |
78 ec_pdo_list_copy(&sync->pdos, &other->pdos); |
80 sync->assign_source = other->assign_source; |
|
81 } |
79 } |
82 |
80 |
83 /*****************************************************************************/ |
81 /*****************************************************************************/ |
84 |
82 |
85 /** Destructor. |
83 /** Destructor. |