New error message always results in status problem
Previously, a new error message did not automatically result in a status problem being shown. This patch fixes that.
This commit is contained in:
@@ -838,7 +838,8 @@ asynStatus detectorTowerController::pollDetectorAxes(
|
||||
getStringParam(angleAxisNo, motorMessageText(), sizeof(waitingErrorMessage),
|
||||
waitingErrorMessage);
|
||||
|
||||
if (error != 0 || waitingErrorMessage[0] != '\0') {
|
||||
if (error != 0 || errorMessage[0] != '\0' ||
|
||||
waitingErrorMessage[0] != '\0') {
|
||||
|
||||
plStatus = angleAxis->setIntegerParam(motorStatusProblem(), true);
|
||||
if (plStatus != asynSuccess) {
|
||||
|
||||
Reference in New Issue
Block a user