From 1470f901bc834739ccb0c0a506c7214fe5056bb0 Mon Sep 17 00:00:00 2001 From: smathis Date: Mon, 8 Jun 2026 14:13:49 +0200 Subject: [PATCH] Fixed wrong docstring --- src/sinqAxis.h | 4 ++-- src/sinqController.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sinqAxis.h b/src/sinqAxis.h index 6b1986c..4a2239c 100644 --- a/src/sinqAxis.h +++ b/src/sinqAxis.h @@ -76,8 +76,8 @@ class HIDDEN sinqAxis : public asynMotorAxis { - Call the `doPoll` method - - Reset motorStatusProblem_, motorStatusCommsError_ and motorMessageText_ if - doPoll returned asynSuccess + - Reset motorStatusProblem_, motorStatusCommsError_ and motorErrorMessage_ + if doPoll returned asynSuccess - If the movement timeout watchdog has been started, check it. diff --git a/src/sinqController.h b/src/sinqController.h index 166d727..16297cf 100644 --- a/src/sinqController.h +++ b/src/sinqController.h @@ -24,7 +24,7 @@ Stefan Mathis, November 2024 #include #define motorMessageIsFromDriverString "MOTOR_MESSAGE_DRIVER" -#define motorMessageTextString "MOTOR_ERROR_MESSAGE" +#define motorErrorMessageString "MOTOR_ERROR_MESSAGE" #define IncrementalEncoder "incremental" #define AbsoluteEncoder "absolute" #define NoEncoder "none"