--- a/master/fsm_coe_map.c Thu Jun 19 13:35:34 2008 +0000
+++ b/master/fsm_coe_map.c Thu Jun 19 13:52:12 2008 +0000
@@ -247,7 +247,7 @@
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 @@
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 @@
{
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);