Updated dependencies sinqMotor and turboPmac both to 0.15.2

This commit is contained in:
2025-05-16 16:17:08 +02:00
parent 94edef6cd8
commit 832884179c
2 changed files with 16 additions and 16 deletions

View File

@ -159,21 +159,21 @@ asynStatus detectorTowerController::writeInt32(asynUser *pasynUser,
behaviour cannot be overwritten even by providing custom `reset` methods for
all three axes.
*/
if (pasynUser->reason == motorReset_) {
detectorTowerAngleAxis *aAxis = getDetectorTowerAngleAxis(pasynUser);
if (aAxis != nullptr) {
return aAxis->reset();
}
detectorTowerLiftAxis *lAxis = getDetectorTowerLiftAxis(pasynUser);
if (lAxis != nullptr) {
return lAxis->reset();
}
detectorTowerSupportAxis *sAxis =
getDetectorTowerSupportAxis(pasynUser);
if (sAxis != nullptr) {
return sAxis->reset();
}
}
// if (pasynUser->reason == motorReset_) {
// detectorTowerAngleAxis *aAxis = getDetectorTowerAngleAxis(pasynUser);
// if (aAxis != nullptr) {
// return aAxis->reset();
// }
// detectorTowerLiftAxis *lAxis = getDetectorTowerLiftAxis(pasynUser);
// if (lAxis != nullptr) {
// return lAxis->reset();
// }
// detectorTowerSupportAxis *sAxis =
// getDetectorTowerSupportAxis(pasynUser);
// if (sAxis != nullptr) {
// return sAxis->reset();
// }
// }
return turboPmacController::writeInt32(pasynUser, value);
}