diff --git a/src/rec/aiRecord.c b/src/rec/aiRecord.c index 5296538a8..8d1dbd988 100644 --- a/src/rec/aiRecord.c +++ b/src/rec/aiRecord.c @@ -183,7 +183,8 @@ static long init_record(void *precord,int pass) return(S_dev_missingSup); } pai->init = TRUE; - if ((pai->linr == menuConvertLINEAR) && pdset->special_linconv) { + /*The following is for old device support that doesnt know about eoff*/ + if ((pai->eslo==1.0) && (pai->eoff==0.0)) { pai->eoff = pai->egul; } diff --git a/src/rec/aoRecord.c b/src/rec/aoRecord.c index b151745e3..cbe72ad00 100644 --- a/src/rec/aoRecord.c +++ b/src/rec/aoRecord.c @@ -182,7 +182,8 @@ static long init_record(pao,pass) return(S_dev_missingSup); } pao->init = TRUE; - if ((pao->linr == menuConvertLINEAR) && pdset->special_linconv) { + /*The following is for old device support that doesnt know about eoff*/ + if ((pao->eslo==1.0) && (pao->eoff==0.0)) { pao->eoff = pao->egul; }