Fixed wrong comments
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user