From 5d1f572ceae8ae88cc35a280ac9d506a1b11ffe5 Mon Sep 17 00:00:00 2001 From: Henrique Silva Date: Wed, 8 Mar 2023 16:46:23 +0100 Subject: [PATCH] Remove NORD post event from device support layer Fixes #280 This event will only be posted in the record support layer, specifically in the process function. --- modules/database/src/std/dev/devAaiSoft.c | 4 ---- modules/database/src/std/dev/devWfSoft.c | 3 --- 2 files changed, 7 deletions(-) diff --git a/modules/database/src/std/dev/devAaiSoft.c b/modules/database/src/std/dev/devAaiSoft.c index f2e4a41f9..7d86ece0c 100644 --- a/modules/database/src/std/dev/devAaiSoft.c +++ b/modules/database/src/std/dev/devAaiSoft.c @@ -85,7 +85,6 @@ static long readLocked(struct link *pinp, void *dummy) static long read_aai(aaiRecord *prec) { - epicsUInt32 nord = prec->nord; struct link *pinp = prec->simm == menuYesNoYES ? &prec->siol : &prec->inp; long status; @@ -96,8 +95,5 @@ static long read_aai(aaiRecord *prec) if (status == S_db_noLSET) status = readLocked(pinp, NULL); - if (!status && nord != prec->nord) - db_post_events(prec, &prec->nord, DBE_VALUE | DBE_LOG); - return status; } diff --git a/modules/database/src/std/dev/devWfSoft.c b/modules/database/src/std/dev/devWfSoft.c index ccc984352..ee324f357 100644 --- a/modules/database/src/std/dev/devWfSoft.c +++ b/modules/database/src/std/dev/devWfSoft.c @@ -72,7 +72,6 @@ static long read_wf(waveformRecord *prec) { long status; struct wfrt rt; - epicsUInt32 nord = prec->nord; rt.nRequest = prec->nelm; rt.ptime = (dbLinkIsConstant(&prec->tsel) && @@ -88,8 +87,6 @@ static long read_wf(waveformRecord *prec) if (!status) { prec->nord = rt.nRequest; prec->udf = FALSE; - if (nord != prec->nord) - db_post_events(prec, &prec->nord, DBE_VALUE | DBE_LOG); } return status;