From 9098a932fa6cf8f9facc0abd213b2c77ca879589 Mon Sep 17 00:00:00 2001 From: smathis Date: Thu, 9 Apr 2026 10:47:27 +0200 Subject: [PATCH] Fixed bug in response parsing If the byte 15 is encountered in the message, the parseResponse function must return asynDisconnected (instead of asynSuccess) so the state of the axis is accounted for properly. --- src/masterMacsController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/masterMacsController.cpp b/src/masterMacsController.cpp index dc24442..5a19b09 100644 --- a/src/masterMacsController.cpp +++ b/src/masterMacsController.cpp @@ -493,7 +493,7 @@ asynStatus masterMacsController::parseResponse( } } } - break; + return asynDisconnected; } else if (fullResponse[i] == '\x18') { // CAN snprintf(drvMessageText, MAXBUF_,