equal
deleted
inserted
replaced
235 ec_sync_config_t *sync_config; |
235 ec_sync_config_t *sync_config; |
236 const ec_sync_t *sync; |
236 const ec_sync_t *sync; |
237 |
237 |
238 if (!sc->slave) |
238 if (!sc->slave) |
239 return; |
239 return; |
240 |
|
241 |
240 |
242 for (sync_index = 0; sync_index < EC_MAX_SYNCS; sync_index++) { |
241 for (sync_index = 0; sync_index < EC_MAX_SYNCS; sync_index++) { |
243 sync_config = &sc->sync_configs[sync_index]; |
242 sync_config = &sc->sync_configs[sync_index]; |
244 if ((sync = ec_slave_get_sync(sc->slave, sync_index))) { |
243 if ((sync = ec_slave_get_sync(sc->slave, sync_index))) { |
245 sync_config->dir = ec_sync_default_direction(sync); |
244 sync_config->dir = ec_sync_default_direction(sync); |