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:
Florian Pose 2025-09-09 11:08:42 +02:00 committed by GitLab
commit 6acfd09764
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -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;
} }