From 7f7bc289f3f73a3ece5b009eaadbdb0ec6b6ee83 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Wed, 7 Jul 2010 19:20:01 +0200 Subject: [PATCH] Bugfix: use SIMS for simulation severity --- src/rec/aaoRecord.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rec/aaoRecord.c b/src/rec/aaoRecord.c index 33ba5a278..1837618e4 100644 --- a/src/rec/aaoRecord.c +++ b/src/rec/aaoRecord.c @@ -313,7 +313,7 @@ static long writeValue(aaoRecord *prec) simulation mode. Thus call device now. */ - recGblSetSevr(prec, SIMM_ALARM, INVALID_ALARM); + recGblSetSevr(prec, SIMM_ALARM, prec->sims); return pdset->write_aao(prec); } recGblSetSevr(prec, SOFT_ALARM, INVALID_ALARM);