From 0f0fa00cb95d7b216108793832e94461fe63f20d Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Tue, 14 Sep 1993 16:33:56 +0000 Subject: [PATCH] dbIsDefault always returns FALSE for DEV --- src/db/dbStaticLib.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/db/dbStaticLib.c b/src/db/dbStaticLib.c index bf4fd053f..32b1cc5d9 100644 --- a/src/db/dbStaticLib.c +++ b/src/db/dbStaticLib.c @@ -29,6 +29,7 @@ * Modification Log: * ----------------- * .01 02-03-93 mrk Consolidated all databse defs in one place + * .02 09-10-93 mrk dbIsDefault always returns FALSE for DEVCHOICE */ #ifdef vxWorks @@ -2076,9 +2077,11 @@ DBENTRY *pdbentry; case (DBF_GBLCHOICE): case (DBF_CVTCHOICE): case (DBF_RECCHOICE): - case (DBF_DEVCHOICE): case (DBF_ENUM): return((*(unsigned short *) pfield) == pflddes->initial.enum_value); + case (DBF_DEVCHOICE): + /*Because related to INP or OUT always return FALSE*/ + return(FALSE); case (DBF_INLINK): case (DBF_OUTLINK): case (DBF_FWDLINK):