Skip to content

Commit

Permalink
Merge pull request #2 from dankamongmen/dankamongmen/compile-fix
Browse files Browse the repository at this point in the history
Clean up a few small compilation issues
  • Loading branch information
ljessendk authored May 22, 2019
2 parents 364f2ce + 94bce2c commit a95b22a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/DS401_Master/TestMaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 2 additions & 1 deletion examples/DS401_Slave_Gui/CallBack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion examples/DS401_Slave_Gui/CallBack.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */
2 changes: 1 addition & 1 deletion examples/DS401_Slave_Gui/ObjDict.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion include/unix/canfestival.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ extern "C" {
#endif

typedef void* LIB_HANDLE;
struct CO_Data;

/** @defgroup userapi User API */

Expand Down

0 comments on commit a95b22a

Please sign in to comment.