Increased state change checking timeout to 1s.

This commit is contained in:
Florian Pose 2006-10-24 10:37:05 +00:00
parent 4db2d27655
commit b25fdd525b
1 changed files with 1 additions and 2 deletions

View File

@ -236,8 +236,7 @@ void ec_fsm_change_status(ec_fsm_change_t *fsm /**< finite state machine */)
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);