From 0e1f95a94bf8815097db2c47fcce6e3678ed1946 Mon Sep 17 00:00:00 2001 From: smathis Date: Tue, 10 Feb 2026 09:04:04 +0100 Subject: [PATCH] Updated sinqMotor and use setLimits --- sinqMotor | 2 +- src/masterMacsAxis.cpp | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) 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