Fixed incomplete resetSDOline
authoretisserant
Thu, 24 Jul 2008 14:22:59 +0200
changeset 501 9bec3864a891
parent 500 13fcb9328a02
child 502 e06afbb9adcd
Fixed incomplete resetSDOline
src/sdo.c
--- a/src/sdo.c	Wed Jul 23 18:02:27 2008 +0200
+++ b/src/sdo.c	Thu Jul 24 14:22:59 2008 +0200
@@ -333,6 +333,8 @@
   initSDOline(d, line, 0, 0, 0, SDO_RESET);
   for (i = 0 ; i < SDO_MAX_LENGTH_TRANSFERT ; i++)
     d->transfers[line].data[i] = 0;
+  d->transfers[line].whoami = 0;
+  d->transfers[line].abortCode = 0;
 }
 
 /*!