sMore debugging output in devScalerEL737

This commit is contained in:
2023-01-11 15:08:18 +01:00
parent 0cbfe45893
commit a899a28182
2 changed files with 6 additions and 5 deletions

View File

@ -2,7 +2,7 @@
include /ioc/tools/driver.makefile include /ioc/tools/driver.makefile
MODULE=sinq MODULE=sinq
LIBVERSION=brambilla_m LIBVERSION=brambilla_m_test
BUILDCLASSES=Linux BUILDCLASSES=Linux
EPICS_VERSIONS=3.14.12 7.0.4.1 EPICS_VERSIONS=3.14.12 7.0.4.1
ARCH_FILTER=RHEL7-x86_64 ARCH_FILTER=RHEL7-x86_64

View File

@ -40,6 +40,7 @@
*/ */
#include <string.h> #include <string.h>
#include <errno.h>
#include <asynOctetSyncIO.h> #include <asynOctetSyncIO.h>
#include <epicsEvent.h> #include <epicsEvent.h>
#include <epicsThread.h> #include <epicsThread.h>
@ -490,8 +491,8 @@ static void runEvents(EL737priv *priv)
if(status != asynSuccess){ if(status != asynSuccess){
errlogPrintf("devScalerEL737::el737Thread communication problem %s\n", errlogPrintf("devScalerEL737::el737Thread communication problem %s\n, errno =%d",
priv->asynContext->errorMessage); priv->asynContext->errorMessage, errno);
} }
} }
@ -505,8 +506,8 @@ static void updateValues(EL737priv *priv)
strcpy(command,"RA"); strcpy(command,"RA");
status = el737_transactCommand(priv,command,reply); status = el737_transactCommand(priv,command,reply);
if(status != asynSuccess){ if(status != asynSuccess){
errlogPrintf("devScalerEL737::el737Thread communication problem %s\n", errlogPrintf("devScalerEL737::el737Thread communication problem %s, errno = %d\n",
priv->asynContext->errorMessage); priv->asynContext->errorMessage, errno);
return; return;
} }
status = sscanf(reply, "%f %ld %ld %ld %ld %ld %ld %ld %ld", status = sscanf(reply, "%f %ld %ld %ld %ld %ld %ld %ld %ld",