From cd6f33ef2759d8206b0ace3d0c76f802e1509df9 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Mon, 8 Apr 2002 14:55:13 +0000 Subject: [PATCH] nsev not sevr must be checked --- src/rec/calcoutRecord.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rec/calcoutRecord.c b/src/rec/calcoutRecord.c index 15115b4a7..f4ca2227c 100644 --- a/src/rec/calcoutRecord.c +++ b/src/rec/calcoutRecord.c @@ -602,7 +602,7 @@ static void execOutput(pcalc) } /* Check to see what to do if INVALID */ - if (pcalc->sevr < INVALID_ALARM ) { + if (pcalc->nsev < INVALID_ALARM ) { /* Output the value */ status=dbPutLink(&(pcalc->out), DBR_DOUBLE,&(pcalc->oval),1); /* post event if output event != 0 */