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.
This commit is contained in:
1 parent
b96605916f
commit
9098a932fa
1 file changed
+1
-1
@@ -493,7 +493,7 @@ asynStatus masterMacsController::parseResponse(
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
return asynDisconnected;
|
||||
} else if (fullResponse[i] == '\x18') {
|
||||
// CAN
|
||||
snprintf(drvMessageText, MAXBUF_,
|
||||
|
||||
Reference in new issue
Block a user