Fixed bug where arguments were given in the wrong order.
This commit is contained in:
@ -505,8 +505,7 @@ asynStatus sinqController::checkMaxSubsequentTimeouts(int timeoutNo, int axisNo,
|
|||||||
asynPrint(
|
asynPrint(
|
||||||
this->pasynUserSelf, ASYN_TRACE_ERROR,
|
this->pasynUserSelf, ASYN_TRACE_ERROR,
|
||||||
"Controller \"%s\", axis %d => %s, line %d:\nMore than %d "
|
"Controller \"%s\", axis %d => %s, line %d:\nMore than %d "
|
||||||
"subsequent communication "
|
"subsequent communication timeouts.\n",
|
||||||
"timeouts\n",
|
|
||||||
this->portName, axisNo, __PRETTY_FUNCTION__, __LINE__,
|
this->portName, axisNo, __PRETTY_FUNCTION__, __LINE__,
|
||||||
maxSubsequentTimeouts_);
|
maxSubsequentTimeouts_);
|
||||||
|
|
||||||
@ -532,7 +531,7 @@ asynStatus sinqController::checkMaxSubsequentTimeouts(int timeoutNo,
|
|||||||
|
|
||||||
char motorMessage[200] = {0};
|
char motorMessage[200] = {0};
|
||||||
|
|
||||||
asynStatus status = checkMaxSubsequentTimeouts(axis->axisNo(), timeoutNo,
|
asynStatus status = checkMaxSubsequentTimeouts(timeoutNo, axis->axisNo(),
|
||||||
motorMessage, 200);
|
motorMessage, 200);
|
||||||
if (status == asynError) {
|
if (status == asynError) {
|
||||||
status = axis->setStringParam(motorMessageText_, motorMessage);
|
status = axis->setStringParam(motorMessageText_, motorMessage);
|
||||||
|
Reference in New Issue
Block a user