Move db_post_events(waveform, NORD) into recordType.

Dirk pointed out that existing device support authors aren't
going to add this themselves; it's much better if the record
does it all for itself.
This commit is contained in:
Andrew Johnson
2013-04-04 14:18:35 -05:00
parent f661299a81
commit fabc8d06a9
3 changed files with 13 additions and 9 deletions

View File

@@ -76,8 +76,6 @@ static long read_wf(waveformRecord *prec)
if (prec->tsel.type == CONSTANT &&
prec->tse == epicsTimeEventDeviceTime)
dbGetTimeStamp(&prec->inp, &prec->time);
db_post_events(prec, &prec->nord, DBE_VALUE | DBE_LOG);
}
return 0;
}