Fixed CoE transfer timeout bug.
--- a/master/fsm_coe.c Mon Jul 14 12:16:07 2008 +0000
+++ b/master/fsm_coe.c Thu Jul 17 10:03:15 2008 +0000
@@ -1128,9 +1128,9 @@
EC_DBG("Slave %u did not respond to Sdo download request. "
"Retrying after %u ms...\n",
slave->ring_position, (u32) diff_ms);
- // no response; send request datagram again
- return;
}
+ // no response; send request datagram again
+ return;
}
}
fsm->state = ec_fsm_coe_error;
@@ -1376,9 +1376,9 @@
EC_DBG("Slave %u did no respond to Sdo upload request. "
"Retrying after %u ms...\n",
slave->ring_position, (u32) diff_ms);
- // no response; send request datagram again
- return;
}
+ // no response; send request datagram again
+ return;
}
}
fsm->state = ec_fsm_coe_error;