From 7cad532a296d6bab35a7ffaa4ff91b4f29ddb5e4 Mon Sep 17 00:00:00 2001 From: smathis Date: Wed, 15 Jul 2026 15:49:41 +0200 Subject: [PATCH] Do not treat asynDisconnected as an error --- src/sinqAxis.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sinqAxis.cpp b/src/sinqAxis.cpp index 7e43a06..39ed17c 100644 --- a/src/sinqAxis.cpp +++ b/src/sinqAxis.cpp @@ -266,7 +266,8 @@ asynStatus sinqAxis::forcedPoll(bool *moving) { went wrong and the motor has a status problem. Otherwise, delete the error message entry which is currently in the paramLib. */ - if (poll_status != asynSuccess || waitingMessage[0] != '\0') { + if ((poll_status != asynSuccess && poll_status != asynDisconnected) || + waitingMessage[0] != '\0') { /* If doPoll cleared the error message paramLib entry, but an old message is still waiting, set the old message.