src/sdo.c
changeset 149 fe50ada8020b
parent 145 e747d2e26af0
child 154 1b3165f2d17d
--- a/src/sdo.c	Thu Apr 05 10:06:11 2007 +0200
+++ b/src/sdo.c	Fri Apr 06 16:49:28 2007 +0200
@@ -25,6 +25,7 @@
 
 #include "objacces.h"
 #include "sdo.h"
+#include "canfestival.h"
 
 /* Uncomment if your compiler does not support inline functions */
 #define NO_INLINE 
@@ -410,7 +411,7 @@
   for (i = 0 ; i < 8 ; i++) {
     m.data[i] =  sdo.body.data[i];
   }
-  return (*d->canSend)(&m);
+  return canSend(d->canHandle,&m);
 }
 
 /***************************************************************************/
@@ -1330,3 +1331,4 @@
   return d->transfers[line].state;
 }
 
+void _SDOtimeoutError (UNS8 line){}