author | Florian Pose <fp@igh-essen.com> |
Thu, 19 Jun 2008 13:35:34 +0000 | |
changeset 1043 | 2abea4233a6d |
parent 1042 | 60bb49e4c985 |
child 1044 | 0d73427db362 |
master/fsm_coe.c | file | annotate | diff | comparison | revisions |
--- a/master/fsm_coe.c Thu Jun 19 10:25:21 2008 +0000 +++ b/master/fsm_coe.c Thu Jun 19 13:35:34 2008 +0000 @@ -1401,7 +1401,7 @@ if (!ec_slave_mbox_check(datagram)) { unsigned long diff_ms = (datagram->jiffies_received - fsm->jiffies_start) * 1000 / HZ; - if (diff_ms >= 100) { + if (diff_ms >= fsm->request->response_timeout) { fsm->state = ec_fsm_coe_error; EC_ERR("Timeout while checking Sdo upload on slave %u.\n", slave->ring_position);