Increased state change checking timeout to 1s.
authorFlorian Pose <fp@igh-essen.com>
Tue, 24 Oct 2006 10:37:05 +0000
changeset 439 0f5a3d983908
parent 438 64edce89fe9b
child 440 16fddae16c94
Increased state change checking timeout to 1s.
master/fsm_change.c
--- a/master/fsm_change.c	Tue Oct 24 08:41:39 2006 +0000
+++ b/master/fsm_change.c	Tue Oct 24 10:37:05 2006 +0000
@@ -236,8 +236,7 @@
         return;
     }
 
-    if (datagram->jiffies_received
-        - fsm->jiffies_start >= 100 * HZ / 1000) { // 100ms
+    if (datagram->jiffies_received - fsm->jiffies_start >= HZ) { // 1s
         // timeout while checking
         char state_str[EC_STATE_STRING_SIZE];
         ec_state_string(fsm->requested_state, state_str);