Fixed wrong comments
Some checks failed
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 8s

This commit is contained in:
2025-07-22 17:13:09 +02:00
parent c32708e49c
commit 8bb81b1716

View File

@@ -808,20 +808,19 @@ asynStatus masterMacsAxis::doReset() {
asynStatus status = asynSuccess;
// Reset errors
// Reset the controller ("node reset")
status = pC_->write(axisNo_, 16, "");
if (status != asynSuccess) {
setAxisParamChecked(this, motorStatusProblem, true);
}
// Reset the controller
// Reset any errors in the controller
status = pC_->write(axisNo_, 17, "");
if (status != asynSuccess) {
setAxisParamChecked(this, motorStatusProblem, true);
}
// Reset the driver to idle state and move out of the handshake wait loop,
// if we're currently inside it.
// Move out of the handshake wait loop, if we're currently inside it.
pMasterMacsA_->waitForHandshake = false;
return status;