mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-20 21:51:25 +08:00
Re-enabled waiting for clock synchronity before setting dc offsets. (changeset b0dcdfbd4238)
This commit is contained in:
@@ -1248,7 +1248,7 @@ void ec_fsm_slave_config_state_dc_sync_check(
|
||||
abs_sync_diff = EC_READ_U32(datagram->data) & 0x7fffffff;
|
||||
diff_ms = (datagram->jiffies_received - fsm->jiffies_start) * 1000 / HZ;
|
||||
|
||||
if (0 && abs_sync_diff > EC_DC_MAX_SYNC_DIFF_NS) {
|
||||
if (abs_sync_diff > EC_DC_MAX_SYNC_DIFF_NS) {
|
||||
|
||||
if (diff_ms >= EC_DC_SYNC_WAIT_MS) {
|
||||
EC_SLAVE_WARN(slave, "Slave did not sync after %lu ms.\n",
|
||||
|
||||
Reference in New Issue
Block a user