src/objacces.c
changeset 437 129bbe0504e4
parent 431 166037b8f2ed
child 450 dff8cc600cba
equal deleted inserted replaced
436:77796b3e3428 437:129bbe0504e4
   339       
   339       
   340       *pExpectedSize = szData;
   340       *pExpectedSize = szData;
   341 
   341 
   342       /* Callbacks */
   342       /* Callbacks */
   343       if(Callback && Callback[bSubindex]){
   343       if(Callback && Callback[bSubindex]){
   344         (*Callback[bSubindex])(d, ptrTable, bSubindex);
   344         errorCode = (Callback[bSubindex])(d, ptrTable, bSubindex);
   345       }
   345         if(errorCode != OD_SUCCESSFUL)
       
   346         {
       
   347             return errorCode;
       
   348         }
       
   349        }
   346 
   350 
   347       /* TODO : Store dans NVRAM */
   351       /* TODO : Store dans NVRAM */
   348       if (ptrTable->pSubindex[bSubindex].bAccessType & TO_BE_SAVE){
   352       if (ptrTable->pSubindex[bSubindex].bAccessType & TO_BE_SAVE){
   349         (*d->storeODSubIndex)(d, wIndex, bSubindex);
   353         (*d->storeODSubIndex)(d, wIndex, bSubindex);
   350       }
   354       }