mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-22 01:53:54 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user