Removed special_linconv() routines, ESLO and EOFF can be set manually.

This commit is contained in:
Andrew Johnson
2001-08-17 22:44:46 +00:00
parent a1b9e58cd0
commit 21b7bf8b6b
2 changed files with 7 additions and 30 deletions

View File

@@ -49,9 +49,8 @@
#include "link.h"
#include "aiRecord.h"
/* Create the dset for devAiSoftRaw */
static long init_record();
static long read_ai();
static long special_linconv();
static long init_record(aiRecord *pai);
static long read_ai(aiRecord *pai);
struct {
long number;
DEVSUPFUN report;
@@ -67,7 +66,7 @@ struct {
init_record,
NULL,
read_ai,
special_linconv
NULL
};
static long init_record(aiRecord *pai)
@@ -86,19 +85,13 @@ static long init_record(aiRecord *pai)
"devAiSoftRaw (init_record) Illegal INP field");
return(S_db_badField);
}
special_linconv(pai,1);
return(0);
}
static long read_ai( aiRecord *pai)
static long read_ai(aiRecord *pai)
{
long status;
status = dbGetLink(&(pai->inp),DBR_LONG,&(pai->rval),0,0);
return(0);
}
static long special_linconv(aiRecord *pai,int after)
{
return(0);
}

View File

@@ -51,12 +51,8 @@
#include "special.h"
#include "aoRecord.h"
static long init_record();
/* Create the dset for devAoSoftRaw */
static long init_record();
static long write_ao();
static long special_linconv();
static long write_ao(aoRecord *pao);
struct {
long number;
DEVSUPFUN report;
@@ -69,17 +65,11 @@ struct {
6,
NULL,
NULL,
init_record,
NULL,
NULL,
write_ao,
special_linconv};
NULL};
static long init_record(aoRecord *pao)
{
special_linconv(pao,1);
return 0;
} /* end init_record() */
static long write_ao(aoRecord *pao)
{
long status;
@@ -88,9 +78,3 @@ static long write_ao(aoRecord *pao)
return(status);
}
static long special_linconv(aoRecord *pao, int after)
{
return(0);
}