Specified new version for sinqMotor

This commit is contained in:
2025-05-12 12:02:43 +02:00
parent 468ca46010
commit c5f5cf3065
4 changed files with 5 additions and 3 deletions

View File

@@ -356,7 +356,6 @@ asynStatus masterMacsAxis::doPoll(bool *moving) {
// poll. This is already part of the movement procedure.
*moving = true;
setAxisParamChecked(this, motorStatusMoving, *moving);
pl_status = setIntegerParam(pC_->motorStatusMoving(), *moving);
if (pl_status != asynSuccess) {
return pC_->paramLibAccessFailed(pl_status,

View File

@@ -470,7 +470,8 @@ asynStatus masterMacsController::parseResponse(
return asynError;
}
asynStatus sinqController::readInt32(asynUser *pasynUser, epicsInt32 *value) {
asynStatus masterMacsController::readInt32(asynUser *pasynUser,
epicsInt32 *value) {
// masterMacs can be disabled
if (pasynUser->reason == motorCanDisable_) {
*value = 1;

View File

@@ -125,6 +125,8 @@ class masterMacsController : public sinqController {
*/
double comTimeout() { return comTimeout_; }
asynStatus readInt32(asynUser *pasynUser, epicsInt32 *value);
private:
/*
Stores the constructor input comTimeout