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:
Jannik Becher 2025-08-10 09:54:37 +00:00
parent c1e6b50d12
commit c5413f81e2
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. */
)
{
auto &syncManager = sc->sync_managers[sync_index];
syncManager.dir = direction;
return 0;
}