Skip to content

Commit

Permalink
Merge pull request #23 from epics-motor/issue18
Browse files Browse the repository at this point in the history
Eliminated compiler warnings.  Fixes #18
  • Loading branch information
kmpeters authored May 5, 2023
2 parents a656ee6 + 84f8a78 commit d0815ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pigcs2App/src/PIInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ asynStatus PIInterface::sendOnly(const char *outputBuff, asynUser* logSink)
if (status != asynSuccess)
{
asynPrint(logSink, ASYN_TRACE_ERROR|ASYN_TRACEIO_DRIVER,
"PIGCSController:sendOnly: error sending command %s, sent=%d, status=%d\n",
"PIGCSController:sendOnly: error sending command %s, sent=%zu, status=%d\n",
outputBuff, nActual, status);
}
return(status);
Expand All @@ -83,7 +83,7 @@ asynStatus PIInterface::sendOnly(char c, asynUser* logSink)
if (status != asynSuccess)
{
asynPrint(logSink, ASYN_TRACE_ERROR|ASYN_TRACEIO_DRIVER,
"PIGCSController:sendOnly: error sending command %d, sent=%d, status=%d\n",
"PIGCSController:sendOnly: error sending command %d, sent=%zu, status=%d\n",
int(c), nActual, status);
//printf("PIInterface::sendOnly() sending \"#%d\"\n", int(c));
}
Expand Down
4 changes: 2 additions & 2 deletions pigcs2App/src/PIasynAxis.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ class PIasynAxis : public asynMotorAxis
asynUser* m_pasynUser;

bool m_bHasLimitSwitches;
bool m_bEnableAxisAfterHoming;
bool m_bSetServoAfterHoming;
bool m_bHasReference;
bool m_bProblem;
bool m_bServoControl;
bool m_bMoving;
bool m_bEnableAxisAfterHoming;
bool m_bSetServoAfterHoming;
int m_movingStateMask;
u_PIGCS2PiezoCLParams m_CloseLoopParam;

Expand Down

0 comments on commit d0815ab

Please sign in to comment.