Set direction in syncManager when configuring it.
This is needed when you configured your pdos without the ecrt_slave_config_pdos function.
This commit is contained in:
parent
c1e6b50d12
commit
c5413f81e2
|
|
@ -617,6 +617,9 @@ int ecrt_slave_config_sync_manager(
|
||||||
ec_watchdog_mode_t watchdog_mode /** Watchdog mode. */
|
ec_watchdog_mode_t watchdog_mode /** Watchdog mode. */
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
auto &syncManager = sc->sync_managers[sync_index];
|
||||||
|
syncManager.dir = direction;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue