diff --git a/sinqMotor b/sinqMotor index e234d05..95bc899 160000 --- a/sinqMotor +++ b/sinqMotor @@ -1 +1 @@ -Subproject commit e234d05815c9a8e0e1165d7b6fad87be7b17e46d +Subproject commit 95bc899114f90fa0b5925054d1eb374db9678bd7 diff --git a/src/masterMacsAxis.cpp b/src/masterMacsAxis.cpp index 896c050..740ba52 100644 --- a/src/masterMacsAxis.cpp +++ b/src/masterMacsAxis.cpp @@ -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