Updated turboPmac to 1.1.1
This commit is contained in:
@ -110,7 +110,7 @@ asynStatus detectorTowerController::readInt32(asynUser *pasynUser,
|
|||||||
epicsInt32 *value) {
|
epicsInt32 *value) {
|
||||||
|
|
||||||
// The detector axes cannot be disabled
|
// The detector axes cannot be disabled
|
||||||
if (pasynUser->reason == motorCanDisable_) {
|
if (pasynUser->reason == motorCanDisable()) {
|
||||||
detectorTowerAngleAxis *aAxis = getDetectorTowerAngleAxis(pasynUser);
|
detectorTowerAngleAxis *aAxis = getDetectorTowerAngleAxis(pasynUser);
|
||||||
if (aAxis != nullptr) {
|
if (aAxis != nullptr) {
|
||||||
*value = 0;
|
*value = 0;
|
||||||
|
@ -154,7 +154,7 @@ asynStatus detectorTowerLiftAxis::poll(bool *moving) {
|
|||||||
__LINE__);
|
__LINE__);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
wasMoving_ = *moving;
|
setWasMoving(*moving);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -183,7 +183,7 @@ asynStatus detectorTowerLiftAxis::doMove(double position, int relative,
|
|||||||
// Signal to the deferredMovementCollectorLoop (of the
|
// Signal to the deferredMovementCollectorLoop (of the
|
||||||
// detectorTowerAngleAxis) that a movement should be started to the
|
// detectorTowerAngleAxis) that a movement should be started to the
|
||||||
// defined target position.
|
// defined target position.
|
||||||
targetPosition_ = position * motorRecResolution;
|
setTargetPosition(position * motorRecResolution);
|
||||||
angleAxis_->receivedTarget_ = true;
|
angleAxis_->receivedTarget_ = true;
|
||||||
|
|
||||||
return asynSuccess;
|
return asynSuccess;
|
||||||
|
Reference in New Issue
Block a user