Now OD callback return val ahev influance on SDO transmission (if callback fall, SDO abord may be signaled)
--- a/src/objacces.c Mon Mar 31 15:39:44 2008 +0200
+++ b/src/objacces.c Mon Mar 31 16:17:44 2008 +0200
@@ -341,8 +341,12 @@
/* Callbacks */
if(Callback && Callback[bSubindex]){
- (*Callback[bSubindex])(d, ptrTable, bSubindex);
- }
+ errorCode = (Callback[bSubindex])(d, ptrTable, bSubindex);
+ if(errorCode != OD_SUCCESSFUL)
+ {
+ return errorCode;
+ }
+ }
/* TODO : Store dans NVRAM */
if (ptrTable->pSubindex[bSubindex].bAccessType & TO_BE_SAVE){