Fix event record device support with constant INP
This fix apply to event record device with constant INP. Now when the event record is proccessed the associated records with the same SCAN setup get triggered correctly, it is not more necessary to set VAL on event record. Fixes lp: #1829770
This commit is contained in:
committed by
Michael Davidsaver
parent
1d9e9ff4f7
commit
983937a52f
@@ -106,10 +106,11 @@ static long init_record(eventRecord *prec, int pass)
|
||||
recGblInitConstantLink(&prec->siol,DBF_STRING,&prec->sval);
|
||||
}
|
||||
|
||||
prec->epvt = eventNameToHandle(prec->val);
|
||||
|
||||
if( (pdset=(struct eventdset *)(prec->dset)) && (pdset->init_record) )
|
||||
status=(*pdset->init_record)(prec);
|
||||
|
||||
prec->epvt = eventNameToHandle(prec->val);
|
||||
|
||||
return(status);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user