equal
deleted
inserted
replaced
230 ret = ecrt_slave_config_sync_manager(sc, sync_info->index, |
230 ret = ecrt_slave_config_sync_manager(sc, sync_info->index, |
231 sync_info->dir, sync_info->watchdog_mode); |
231 sync_info->dir, sync_info->watchdog_mode); |
232 if (ret) |
232 if (ret) |
233 return ret; |
233 return ret; |
234 |
234 |
|
235 ecrt_slave_config_pdo_assign_clear(sc, sync_info->index); |
|
236 |
235 if (sync_info->n_pdos && sync_info->pdos) { |
237 if (sync_info->n_pdos && sync_info->pdos) { |
236 ecrt_slave_config_pdo_assign_clear(sc, sync_info->index); |
|
237 |
238 |
238 for (j = 0; j < sync_info->n_pdos; j++) { |
239 for (j = 0; j < sync_info->n_pdos; j++) { |
239 pdo_info = &sync_info->pdos[j]; |
240 pdo_info = &sync_info->pdos[j]; |
240 |
241 |
241 ret = ecrt_slave_config_pdo_assign_add( |
242 ret = ecrt_slave_config_pdo_assign_add( |