Merge branch 'patch-1' into 'stable-1.6'
Set direction in syncManager when configuring it. See merge request etherlab.org/ethercat!179
This commit is contained in:
commit
6acfd09764
|
|
@ -617,6 +617,9 @@ int ecrt_slave_config_sync_manager(
|
|||
ec_watchdog_mode_t watchdog_mode /** Watchdog mode. */
|
||||
)
|
||||
{
|
||||
auto &syncManager = sc->sync_managers[sync_index];
|
||||
syncManager.dir = direction;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue