equal
deleted
inserted
replaced
1127 const ec_slave_config_t *sc = slave->config; |
1127 const ec_slave_config_t *sc = slave->config; |
1128 sync_config = &sc->sync_configs[sync_index]; |
1128 sync_config = &sc->sync_configs[sync_index]; |
1129 size = ec_pdo_list_total_size(&sync_config->pdos); |
1129 size = ec_pdo_list_total_size(&sync_config->pdos); |
1130 |
1130 |
1131 // determine, if PDOs shall be transferred via this SM |
1131 // determine, if PDOs shall be transferred via this SM |
1132 // inthat case, enable sync manager in every case |
1132 // in that case, enable sync manager in every case |
1133 for (j = 0; j < sc->used_fmmus; j++) { |
1133 for (j = 0; j < sc->used_fmmus; j++) { |
1134 if (sc->fmmu_configs[j].sync_index == sync_index) { |
1134 if (sc->fmmu_configs[j].sync_index == sync_index) { |
1135 pdo_xfer = 1; |
1135 pdo_xfer = 1; |
1136 break; |
1136 break; |
1137 } |
1137 } |