Added special_linconv
This commit is contained in:
1 parent
ee9eb23262
commit
4a5a562049
2 files changed
+30
-3
No files matched your search
+14
-1
@@ -31,6 +31,7 @@
|
||||
* Modification Log:
|
||||
* -----------------
|
||||
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
|
||||
* .02 03-04-92 jba Added special_linconv
|
||||
* ...
|
||||
*/
|
||||
|
||||
@@ -38,6 +39,7 @@
|
||||
#include <vxWorks.h>
|
||||
#include <types.h>
|
||||
#include <stdioLib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <alarm.h>
|
||||
#include <cvtTable.h>
|
||||
@@ -51,6 +53,7 @@
|
||||
/* Create the dset for devAiSoftRaw */
|
||||
long init_record();
|
||||
long read_ai();
|
||||
long special_linconv();
|
||||
struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
@@ -66,7 +69,7 @@ struct {
|
||||
init_record,
|
||||
NULL,
|
||||
read_ai,
|
||||
NULL};
|
||||
special_linconv};
|
||||
|
||||
|
||||
static long init_record(pai)
|
||||
@@ -127,3 +130,13 @@ static long read_ai(pai)
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long special_linconv(pai,after)
|
||||
struct aiRecord *pai;
|
||||
int after;
|
||||
{
|
||||
|
||||
if(!after) return(0);
|
||||
|
||||
return(0);
|
||||
}
|
||||
+16
-2
@@ -30,12 +30,14 @@
|
||||
* Modification Log:
|
||||
* -----------------
|
||||
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
|
||||
* .02 03-04-92 jba Added special_linconv
|
||||
* ...
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
#include <types.h>
|
||||
#include <stdioLib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <alarm.h>
|
||||
#include <dbDefs.h>
|
||||
@@ -47,7 +49,8 @@
|
||||
#include <aoRecord.h>
|
||||
|
||||
/* Create the dset for devAoSoftRaw */
|
||||
long write_ao();
|
||||
static long write_ao();
|
||||
static long special_linconv();
|
||||
struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
@@ -63,7 +66,7 @@ struct {
|
||||
NULL,
|
||||
NULL,
|
||||
write_ao,
|
||||
NULL};
|
||||
special_linconv};
|
||||
|
||||
|
||||
static long write_ao(pao)
|
||||
@@ -96,3 +99,14 @@ static long write_ao(pao)
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long special_linconv(pao,after)
|
||||
struct aoRecord *pao;
|
||||
int after;
|
||||
{
|
||||
|
||||
if(!after) return(0);
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user