--- a/lib/slave_config.c Tue Apr 14 16:25:44 2015 -0400
+++ b/lib/slave_config.c Fri Jan 22 13:09:43 2016 +0100
@@ -249,8 +249,9 @@
if (ret)
return ret;
+ ecrt_slave_config_pdo_assign_clear(sc, sync_info->index);
+
if (sync_info->n_pdos && sync_info->pdos) {
- ecrt_slave_config_pdo_assign_clear(sc, sync_info->index);
for (j = 0; j < sync_info->n_pdos; j++) {
pdo_info = &sync_info->pdos[j];
--- a/master/fsm_slave_config.c Tue Apr 14 16:25:44 2015 -0400
+++ b/master/fsm_slave_config.c Fri Jan 22 13:09:43 2016 +0100
@@ -1129,7 +1129,7 @@
size = ec_pdo_list_total_size(&sync_config->pdos);
// determine, if PDOs shall be transferred via this SM
- // inthat case, enable sync manager in every case
+ // in that case, enable sync manager in every case
for (j = 0; j < sc->used_fmmus; j++) {
if (sc->fmmu_configs[j].sync_index == sync_index) {
pdo_xfer = 1;
--- a/master/slave_config.c Tue Apr 14 16:25:44 2015 -0400
+++ b/master/slave_config.c Fri Jan 22 13:09:43 2016 +0100
@@ -779,8 +779,9 @@
if (ret)
return ret;
+ ecrt_slave_config_pdo_assign_clear(sc, sync_info->index);
+
if (sync_info->n_pdos && sync_info->pdos) {
- ecrt_slave_config_pdo_assign_clear(sc, sync_info->index);
for (j = 0; j < sync_info->n_pdos; j++) {
pdo_info = &sync_info->pdos[j];