Changes made to modify DB_LINK test on cvl field to allow type CA_LINK.

This commit is contained in:
Janet B. Anderson committed 1996-10-30 17:40:28 +00:00
1 parent bab66fe7cc
commit 3d22feedd8
1 file changed
+1 -1
+1 -1
View File
@@ -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)) {