Use new dbLink APIs instead of checking link.type
This commit is contained in:
@@ -66,7 +66,7 @@ static long read_bi(biRecord *prec)
|
||||
prec->udf = FALSE;
|
||||
}
|
||||
|
||||
if (prec->tsel.type == CONSTANT &&
|
||||
if (dbLinkIsConstant(&prec->tsel) &&
|
||||
prec->tse == epicsTimeEventDeviceTime)
|
||||
dbGetTimeStamp(&prec->inp, &prec->time);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user