diff --git a/fake_lib/fakeethercat.cpp b/fake_lib/fakeethercat.cpp index 9894b98c..b1bd8b13 100644 --- a/fake_lib/fakeethercat.cpp +++ b/fake_lib/fakeethercat.cpp @@ -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; }