From 351806bbc3ed68dd2fd13b66310b5c9f24d248fb Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Thu, 3 Mar 1994 10:57:39 +0000 Subject: [PATCH] Dont move constant link value to val at init_record --- src/dev/devEventSoft.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/dev/devEventSoft.c b/src/dev/devEventSoft.c index 62a9a0acc..2b7e7cb17 100644 --- a/src/dev/devEventSoft.c +++ b/src/dev/devEventSoft.c @@ -32,6 +32,7 @@ * .00 12-13-91 jba Initial definition * .02 03-13-92 jba ANSI C changes * .03 10-10-92 jba replaced code with recGblGetLinkValue call + * .04 03-03-94 mrk Dont move constant link value to val */ @@ -78,9 +79,7 @@ static long init_record(pevent) /* event.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK*/ switch (pevent->inp.type) { case (CONSTANT) : - if(pevent->inp.value.value!=0.0){ - pevent->val=pevent->inp.value.value; - } + /*User cal initialize val field via DCT*/ pevent->udf= FALSE; break; case (PV_LINK) :