Fixed compiler warnings
This commit is contained in:
@@ -403,6 +403,12 @@ asynStatus beamShiftAxis::doMove(double position, int relative,
|
||||
|
||||
// =========================================================================
|
||||
|
||||
// Suppress unused variables warnings
|
||||
(void)relative;
|
||||
(void)minVelocity;
|
||||
(void)maxVelocity;
|
||||
(void)acceleration;
|
||||
|
||||
getAxisParamChecked(this, motorEnableRBV, &enabled);
|
||||
getAxisParamChecked(this, motorRecResolution, &motorRecResolution);
|
||||
|
||||
@@ -447,6 +453,9 @@ asynStatus beamShiftAxis::stop(double acceleration) {
|
||||
|
||||
// =========================================================================
|
||||
|
||||
// Suppress unused variables warnings
|
||||
(void)acceleration;
|
||||
|
||||
return pC_->writeRead(axisNo(), "P150=8", response, 0);
|
||||
}
|
||||
|
||||
@@ -463,8 +472,15 @@ asynStatus beamShiftAxis::doReset() {
|
||||
/*
|
||||
This is a no-op.
|
||||
*/
|
||||
asynStatus beamShiftAxis::doHome(double min_velocity, double max_velocity,
|
||||
asynStatus beamShiftAxis::doHome(double minVelocity, double maxVelocity,
|
||||
double acceleration, int forwards) {
|
||||
|
||||
// Suppress unused variables warnings
|
||||
(void)minVelocity;
|
||||
(void)maxVelocity;
|
||||
(void)acceleration;
|
||||
(void)forwards;
|
||||
|
||||
return asynSuccess;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user