From 2636296539d10d2343cfb53e6e9c4ad1b852cd4e Mon Sep 17 00:00:00 2001 From: smathis Date: Thu, 15 May 2025 13:50:26 +0200 Subject: [PATCH] Removed debug messages --- src/seleneLiftAxis.cpp | 6 ------ src/seleneOffsetAxis.cpp | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/seleneLiftAxis.cpp b/src/seleneLiftAxis.cpp index fd03160..47ae811 100644 --- a/src/seleneLiftAxis.cpp +++ b/src/seleneLiftAxis.cpp @@ -507,10 +507,6 @@ asynStatus seleneLiftAxis::startCombinedMove() { if (status != asynSuccess) { return status; } - - errlogPrintf("Target lift: %lf, Target angle: %lf\n", liftTargetPosition, - angleTargetPosition); - auto targetPositions = positionsFromLiftAndAngle(liftTargetPosition, angleTargetPosition); @@ -530,8 +526,6 @@ asynStatus seleneLiftAxis::startCombinedMove() { targetPositions[0], targetPositions[1], targetPositions[2], targetPositions[3], targetPositions[4], targetPositions[5]); - errlogPrintf("%s\n", command); - // No answer expected return pC_->writeRead(axisNo_, command, response, 0); } diff --git a/src/seleneOffsetAxis.cpp b/src/seleneOffsetAxis.cpp index 159bbee..e202aaf 100644 --- a/src/seleneOffsetAxis.cpp +++ b/src/seleneOffsetAxis.cpp @@ -213,6 +213,12 @@ asynStatus seleneOffsetAxis::doPoll(bool *moving) { // Update the parameter library if (error != 0) { + status = setStringParam(pC_->motorMessageText(), userMessage); + if (status != asynSuccess) { + return pC_->paramLibAccessFailed(status, "motorMessageText", + axisNo_, __PRETTY_FUNCTION__, + __LINE__); + } status = setIntegerParam(pC_->motorStatusProblem(), true); if (status != asynSuccess) { return pC_->paramLibAccessFailed(status, "motorStatusProblem_",