Disabled waiting for clock synchronity before setting dc offsets
authorMartin Troxler <martin.troxler@komaxgroup.com>
Wed, 12 May 2010 15:07:13 +0200
changeset 1990 b0dcdfbd4238
parent 1989 6aa393418fb3
child 1991 15d656ef81af
Disabled waiting for clock synchronity before setting dc offsets
master/fsm_slave_config.c
--- a/master/fsm_slave_config.c	Tue May 11 13:57:58 2010 +0200
+++ b/master/fsm_slave_config.c	Wed May 12 15:07:13 2010 +0200
@@ -1239,7 +1239,7 @@
     abs_sync_diff = EC_READ_U32(datagram->data) & 0x7fffffff;
     diff_ms = (datagram->jiffies_received - fsm->jiffies_start) * 1000 / HZ;
 
-    if (abs_sync_diff > EC_DC_MAX_SYNC_DIFF_NS) {
+    if (0 && 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 %u ms.\n",