From 7e7b8f486cdedd5a45861b59dc9c473b3d0f0b25 Mon Sep 17 00:00:00 2001 From: smathis Date: Tue, 23 Dec 2025 11:47:12 +0100 Subject: [PATCH] Updated sinqMotor to fix segfault and improved docs --- sinqMotor | 2 +- src/masterMacsAxis.cpp | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/sinqMotor b/sinqMotor index 59a5ba4..e234d05 160000 --- a/sinqMotor +++ b/sinqMotor @@ -1 +1 @@ -Subproject commit 59a5ba452fb41c005e24655335793b8c5d936cd0 +Subproject commit e234d05815c9a8e0e1165d7b6fad87be7b17e46d diff --git a/src/masterMacsAxis.cpp b/src/masterMacsAxis.cpp index 469d11a..fafaa00 100644 --- a/src/masterMacsAxis.cpp +++ b/src/masterMacsAxis.cpp @@ -327,7 +327,7 @@ asynStatus masterMacsAxis::doPoll(bool *moving) { // ========================================================================= - // Does the axis need to be intialized? + // Does the axis need to be initialized? if (needInit()) { // Perform the rest of the poll, but remember if sth. failed in the init. poll_status = init(); @@ -953,9 +953,7 @@ asynStatus masterMacsAxis::enable(bool on) { doPoll(&moving); // If the axis is currently moving, it cannot be disabled. Ignore the - // command and inform the user. We check the last known status of the - // axis instead of "moving", since status -6 is also moving, but the - // motor can actually be disabled in this state! + // command and inform the user. if (moving) { asynPrint(pC_->pasynUser(), ASYN_TRACE_ERROR, "Controller \"%s\", axis %d => %s, line %d:\nAxis is not "