From 3d22feedd82d0991ec22298dc0e564554df07639 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Wed, 30 Oct 1996 17:40:28 +0000 Subject: [PATCH] Changes made to modify DB_LINK test on cvl field to allow type CA_LINK. --- src/rec/pidRecord.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rec/pidRecord.c b/src/rec/pidRecord.c index 0c6d68772..e6225b096 100644 --- a/src/rec/pidRecord.c +++ b/src/rec/pidRecord.c @@ -373,7 +373,7 @@ struct pidRecord *ppid; float d; /*derivative contribution*/ /* fetch the controlled value */ - if (ppid->cvl.type != DB_LINK) { /* nothing to control*/ + if (ppid->cvl.type == CONSTANT) { /* nothing to control*/ if (recGblSetSevr(ppid,SOFT_ALARM,INVALID_ALARM)) return(0); } if (dbGetLink(&ppid->cvl,DBR_FLOAT,&cval,0,0)) {