- Record updates:

. histogramRecord
  . eventRecord
  . aaiRecord
  . aaoRecord

- Device support updates:
  . devHistogramSoft (histogramRecord)
  . devEventSoft (eventRecord)
  . devAaiSoft (aaiRecord)
  . devAaoSoft (aaoRecord)

- Fixes in already-migrated records
  . lsiRecord: replaced 'struct lsidset' with typedef(ed) 'lsidset'
  . int64inRecord (similar as above)
  . int64outRecord (similar as above)
  . calcRecord: minor fix in init_record() prototype declaration

- Note: the comments about return values in dset structs were outright copied from .c to .pod/.dbd files without confirmation if they are indeed correct!
This commit is contained in:
gabadinho
2020-02-14 11:07:11 +01:00
parent 754eb73334
commit c54237e34a
18 changed files with 113 additions and 142 deletions

View File

@@ -30,28 +30,19 @@
#include "epicsExport.h"
/* Create the dset for devAaoSoft */
static long init_record();
static long write_aao();
static long init_record(dbCommon *pcommon);
static long write_aao(aaoRecord *prec);
struct {
long number;
DEVSUPFUN report;
DEVSUPFUN init;
DEVSUPFUN init_record;
DEVSUPFUN get_ioint_info;
DEVSUPFUN read_aao;
} devAaoSoft = {
5,
NULL,
NULL,
init_record,
NULL,
aaodset devAaoSoft = {
{5, NULL, NULL, init_record, NULL},
write_aao
};
epicsExportAddress(dset,devAaoSoft);
epicsExportAddress(dset, devAaoSoft);
static long init_record(aaoRecord *prec)
static long init_record(dbCommon *pcommon)
{
aaoRecord *prec = (aaoRecord *)pcommon;
if (dbLinkIsConstant(&prec->out)) {
prec->nord = 0;
}