equal
deleted
inserted
replaced
36 |
36 |
37 /* #define DEBUG_WAR_CONSOLE_ON */ |
37 /* #define DEBUG_WAR_CONSOLE_ON */ |
38 /* #define DEBUG_ERR_CONSOLE_ON */ |
38 /* #define DEBUG_ERR_CONSOLE_ON */ |
39 |
39 |
40 |
40 |
41 #include "objacces.h" |
41 #include "data.h" |
42 |
42 |
43 |
43 |
44 /*! |
44 /*! |
45 ** |
45 ** |
46 ** |
46 ** |
323 (*Callback[bSubindex])(d, ptrTable, bSubindex); |
323 (*Callback[bSubindex])(d, ptrTable, bSubindex); |
324 } |
324 } |
325 |
325 |
326 /* TODO : Store dans NVRAM */ |
326 /* TODO : Store dans NVRAM */ |
327 if (ptrTable->pSubindex[bSubindex].bAccessType & TO_BE_SAVE){ |
327 if (ptrTable->pSubindex[bSubindex].bAccessType & TO_BE_SAVE){ |
328 (*d->storeODSubIndex)(wIndex, bSubindex); |
328 (*d->storeODSubIndex)(d, wIndex, bSubindex); |
329 } |
329 } |
330 return OD_SUCCESSFUL; |
330 return OD_SUCCESSFUL; |
331 }else{ |
331 }else{ |
332 *pExpectedSize = szData; |
332 *pExpectedSize = szData; |
333 accessDictionaryError(wIndex, bSubindex, szData, *pExpectedSize, OD_LENGTH_DATA_INVALID); |
333 accessDictionaryError(wIndex, bSubindex, szData, *pExpectedSize, OD_LENGTH_DATA_INVALID); |
431 ** |
431 ** |
432 ** |
432 ** |
433 ** @param wIndex |
433 ** @param wIndex |
434 ** @param bSubindex |
434 ** @param bSubindex |
435 **/ |
435 **/ |
436 void _storeODSubIndex (UNS16 wIndex, UNS8 bSubindex){} |
436 void _storeODSubIndex (CO_Data* d, UNS16 wIndex, UNS8 bSubindex){} |