From cb2de976a1eaee09a57a3003098e6d0be4f7b81d Mon Sep 17 00:00:00 2001 From: Richard Hacker <ha@igh-essen.com> Date: Thu, 19 Jun 2008 13:52:12 +0000 Subject: [PATCH] Timeouts set for various uploads in FSM COE MAP --- master/fsm_coe_map.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/master/fsm_coe_map.c b/master/fsm_coe_map.c index 8d24e7bd..173d99a2 100644 --- a/master/fsm_coe_map.c +++ b/master/fsm_coe_map.c @@ -247,7 +247,7 @@ void ec_fsm_coe_map_action_next_pdo( if (fsm->sync_subindex <= fsm->sync_subindices) { ec_sdo_request_address(&fsm->request, fsm->sync_sdo_index, fsm->sync_subindex); - fsm->request.response_timeout = 0; + fsm->request.response_timeout = 5000; ecrt_sdo_request_read(&fsm->request); fsm->state = ec_fsm_coe_map_state_pdo; ec_fsm_coe_transfer(fsm->fsm_coe, fsm->slave, &fsm->request); @@ -314,7 +314,7 @@ void ec_fsm_coe_map_state_pdo( list_add_tail(&fsm->pdo->list, &fsm->pdos.list); ec_sdo_request_address(&fsm->request, fsm->pdo->index, 0); - fsm->request.response_timeout = 0; + fsm->request.response_timeout = 5000; ecrt_sdo_request_read(&fsm->request); fsm->state = ec_fsm_coe_map_state_pdo_entry_count; ec_fsm_coe_transfer(fsm->fsm_coe, fsm->slave, &fsm->request); @@ -370,7 +370,7 @@ void ec_fsm_coe_map_action_next_pdo_entry( { if (fsm->pdo_subindex <= fsm->pdo_subindices) { ec_sdo_request_address(&fsm->request, fsm->pdo->index, fsm->pdo_subindex); - fsm->request.response_timeout = 0; + fsm->request.response_timeout = 5000; ecrt_sdo_request_read(&fsm->request); fsm->state = ec_fsm_coe_map_state_pdo_entry; ec_fsm_coe_transfer(fsm->fsm_coe, fsm->slave, &fsm->request); -- GitLab