Fixed SDO loop in some situations.
authoredouard
Fri, 10 Sep 2010 13:44:56 +0200
changeset 627 4939452b1bf1
parent 626 270b25cd9e8f
child 628 9e496a2aadca
Fixed SDO loop in some situations.
src/sdo.c
--- a/src/sdo.c	Fri Sep 10 13:44:06 2010 +0200
+++ b/src/sdo.c	Fri Sep 10 13:44:56 2010 +0200
@@ -414,6 +414,7 @@
 
   for (i = 0 ; i < SDO_MAX_SIMULTANEOUS_TRANSFERTS ; i++){
     if ( (d->transfers[i].state != SDO_RESET) &&
+     (d->transfers[i].state != SDO_ABORTED_INTERNAL) &&
 	 (d->transfers[i].nodeId == nodeId) &&
 	 (d->transfers[i].whoami == whoami) ) {
       *line = i;