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;
|
||||
lowLimit = lowLimit + limitsOffset;
|
||||
|
||||
setAxisParamChecked(this, motorHighLimitFromDriver, highLimit);
|
||||
setAxisParamChecked(this, motorLowLimitFromDriver, lowLimit);
|
||||
|
||||
return status;
|
||||
return setLimits(highLimit, lowLimit);
|
||||
}
|
||||
|
||||
// Perform the actual poll
|
||||
|
||||
Reference in New Issue
Block a user