Skip to content

Commit

Permalink
Fix type mismatches
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikael Heden committed Feb 17, 2016
1 parent 59e2164 commit 82edc9a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion soem/ethercatcoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,8 @@ int ecx_readODdescription(ecx_contextt *context, uint16 Item, ec_ODlistt *pODlis
int ecx_readOEsingle(ecx_contextt *context, uint16 Item, uint8 SubI, ec_ODlistt *pODlist, ec_OElistt *pOElist)
{
ec_SDOservicet *SDOp, *aSDOp;
uint16 wkc, Index, Slave;
int wkc;
uint16 Index, Slave;
int16 n;
ec_mbxbuft MbxIn, MbxOut;
uint8 cnt;
Expand Down
3 changes: 2 additions & 1 deletion soem/ethercatconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,8 @@ int ecx_config_map_group(ecx_contextt *context, void *pIOmap, uint8 group)
int ecx_recover_slave(ecx_contextt *context, uint16 slave, int timeout)
{
int rval;
uint16 ADPh, configadr, readadr, wkc;
int wkc;
uint16 ADPh, configadr, readadr;

rval = 0;
configadr = context->slavelist[slave].configadr;
Expand Down
2 changes: 1 addition & 1 deletion soem/ethercatprint.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ extern "C"
{
#endif

char* ec_sdoerror2string( uint16 sdoerrorcode);
char* ec_sdoerror2string( uint32 sdoerrorcode);
char* ec_ALstatuscode2string( uint16 ALstatuscode);
char* ec_soeerror2string( uint16 errorcode);
char* ecx_elist2string(ecx_contextt *context);
Expand Down

0 comments on commit 82edc9a

Please sign in to comment.