Commit f01adedd authored by Franksen, Benjamin's avatar Franksen, Benjamin
Browse files

devSCI: stop initializing records if init_done is FALSE

parent a42dfeca
......@@ -337,6 +337,11 @@ static long init_record(dbCommon * prec, int rflags, struct link *plink)
sci_Errcode s_err;
sci_dset_t *pdset = (sci_dset_t *) prec->dset;
if (!init_done) {
prec->pact = TRUE;
return -1;
}
/* link type must be INST_IO */
if (!plink || plink->type != INST_IO) {
ret = (rflags & REC_INP) ? S_dev_badInpType : S_dev_badOutType;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment