# HG changeset patch # User Florian Pose # Date 1213882534 0 # Node ID 2abea4233a6d7ea8cc21e99f6363ac6ebdb4c8f5 # Parent 60bb49e4c985f60fcf630cb3c017c4ca4435a745 Response timeout for checking Sdo upload. diff -r 60bb49e4c985 -r 2abea4233a6d master/fsm_coe.c --- 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);