diff --git a/examples/DS401_Master/TestMaster.h b/examples/DS401_Master/TestMaster.h index b6fff961..9f867786 100644 --- a/examples/DS401_Master/TestMaster.h +++ b/examples/DS401_Master/TestMaster.h @@ -8,7 +8,7 @@ /* Prototypes of function provided by object dictionnary */ UNS32 TestMaster_valueRangeTest (UNS8 typeValue, void * value); -const indextable * TestMaster_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks); +const CONSTSTORE indextable * TestMaster_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks); /* Master node data struct */ extern CO_Data TestMaster_Data; diff --git a/examples/DS401_Slave_Gui/CallBack.cpp b/examples/DS401_Slave_Gui/CallBack.cpp index 28fdc975..0ef2158d 100644 --- a/examples/DS401_Slave_Gui/CallBack.cpp +++ b/examples/DS401_Slave_Gui/CallBack.cpp @@ -86,9 +86,10 @@ Call_post_TPDO (CO_Data * d) //*textLog << wxT("Post_TPDO\n"); } -void +unsigned Call_storeODSubIndex (CO_Data * d, UNS16 wIndex, UNS8 bSubindex) { /*printf ("StoreODSubIndex : %4.4x %2.2x\n", wIndex, bSubindex);*/ //*textLog << wxT("StoreODSubIndex :\n"); + return 0; } diff --git a/examples/DS401_Slave_Gui/CallBack.h b/examples/DS401_Slave_Gui/CallBack.h index 4a69953e..003738a9 100644 --- a/examples/DS401_Slave_Gui/CallBack.h +++ b/examples/DS401_Slave_Gui/CallBack.h @@ -17,6 +17,6 @@ void Call_stopped (CO_Data * d); void Call_post_sync (CO_Data * d); void Call_post_TPDO (CO_Data * d); -void Call_storeODSubIndex (CO_Data * d, UNS16 wIndex, UNS8 bSubindex); +unsigned Call_storeODSubIndex (CO_Data * d, UNS16 wIndex, UNS8 bSubindex); #endif /*CALLBACK_H_ */ diff --git a/examples/DS401_Slave_Gui/ObjDict.h b/examples/DS401_Slave_Gui/ObjDict.h index 6a59613f..89f3255c 100644 --- a/examples/DS401_Slave_Gui/ObjDict.h +++ b/examples/DS401_Slave_Gui/ObjDict.h @@ -8,7 +8,7 @@ /* Prototypes of function provided by object dictionnary */ UNS32 ObjDict_valueRangeTest (UNS8 typeValue, void * value); -const indextable * ObjDict_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks); +const CONSTSTORE indextable * ObjDict_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks); /* Master node data struct */ extern CO_Data ObjDict_Data; diff --git a/include/unix/canfestival.h b/include/unix/canfestival.h index b39c1e64..06c33c8b 100755 --- a/include/unix/canfestival.h +++ b/include/unix/canfestival.h @@ -14,7 +14,6 @@ extern "C" { #endif typedef void* LIB_HANDLE; -struct CO_Data; /** @defgroup userapi User API */