Fixed setting watchdog intervals.
authorFlorian Pose <fp@igh-essen.com>
Thu, 06 Aug 2009 12:52:53 +0000
changeset 1520 09cf61d61af0
parent 1519 75629ad02ca9
child 1521 2180c608e250
Fixed setting watchdog intervals.
master/fsm_slave_config.c
--- a/master/fsm_slave_config.c	Tue Aug 04 12:57:23 2009 +0000
+++ b/master/fsm_slave_config.c	Thu Aug 06 12:52:53 2009 +0000
@@ -933,9 +933,9 @@
 
         fsm->retries = EC_FSM_RETRIES;
         fsm->state = ec_fsm_slave_config_state_watchdog;
-    }
-
-    ec_fsm_slave_config_enter_pdo_sync(fsm);
+    } else {
+        ec_fsm_slave_config_enter_pdo_sync(fsm);
+    }
 }
 
 /*****************************************************************************/