Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f9fbccbe6e | |||
| edc5e93eae | |||
| b2acc86a33 |
1
Makefile
1
Makefile
@@ -36,3 +36,4 @@ DBDS += turboPmac/src/turboPmac.dbd
|
||||
DBDS += src/beamShift.dbd
|
||||
|
||||
USR_CFLAGS += -Wall -Wextra -Wunused-result -Werror # -Wpedantic // Does not work because EPICS macros trigger warnings
|
||||
USR_CXXFLAGS += -Wall -Wextra -Wunused-result -Werror
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Submodule turboPmac updated: 1ee483f8e9...62ccf046fd
Reference in New Issue
Block a user