From 21b7bf8b6b735bc4e283715d0712a9c776dc81f0 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 17 Aug 2001 22:44:46 +0000 Subject: [PATCH] Removed special_linconv() routines, ESLO and EOFF can be set manually. --- src/dev/softDev/devAiSoftRaw.c | 15 ++++----------- src/dev/softDev/devAoSoftRaw.c | 22 +++------------------- 2 files changed, 7 insertions(+), 30 deletions(-) diff --git a/src/dev/softDev/devAiSoftRaw.c b/src/dev/softDev/devAiSoftRaw.c index 5ec498631..1df0e5d8b 100644 --- a/src/dev/softDev/devAiSoftRaw.c +++ b/src/dev/softDev/devAiSoftRaw.c @@ -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); -} diff --git a/src/dev/softDev/devAoSoftRaw.c b/src/dev/softDev/devAoSoftRaw.c index 2d6161083..a37afc695 100644 --- a/src/dev/softDev/devAoSoftRaw.c +++ b/src/dev/softDev/devAoSoftRaw.c @@ -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); -} -