nsev not sevr must be checked to decide if dbPutLink should be called.

This commit is contained in:
Marty Kraimer
2002-04-02 21:01:11 +00:00
parent aa0f766df3
commit d3769953df
+1 -1
View File
@@ -586,7 +586,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 */