Updated sinqMotor and use setLimits
This commit is contained in:
Submodule sinqMotor updated: e234d05815...95bc899114
@@ -431,10 +431,7 @@ asynStatus masterMacsAxis::readLimits() {
|
|||||||
highLimit = highLimit - limitsOffset;
|
highLimit = highLimit - limitsOffset;
|
||||||
lowLimit = lowLimit + limitsOffset;
|
lowLimit = lowLimit + limitsOffset;
|
||||||
|
|
||||||
setAxisParamChecked(this, motorHighLimitFromDriver, highLimit);
|
return setLimits(highLimit, lowLimit);
|
||||||
setAxisParamChecked(this, motorLowLimitFromDriver, lowLimit);
|
|
||||||
|
|
||||||
return status;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Perform the actual poll
|
// Perform the actual poll
|
||||||
|
|||||||
Reference in New Issue
Block a user