PSI sics-cvs-psi-complete-tree-post-site-support
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
#line 247 "evcontroller.w"
|
||||
#line 260 "evcontroller.w"
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
Environment device driver datastructure
|
||||
@@ -12,13 +12,13 @@
|
||||
#define DEVREDO 2
|
||||
|
||||
|
||||
#line 76 "evcontroller.w"
|
||||
#line 85 "evcontroller.w"
|
||||
|
||||
typedef struct __EVDriver {
|
||||
int (*SetValue)(pEVDriver self, float fNew);
|
||||
int (*GetValue)(pEVDriver self, float *fPos);
|
||||
int (*GetValues)(pEVDriver self, float *fTarget,
|
||||
float *fPos, float *fDelta);
|
||||
float *fPos, float *fDelta);
|
||||
int (*Send)(pEVDriver self, char *pCommand,
|
||||
char *pReplyBuffer, int iReplBufLen);
|
||||
int (*GetError)(pEVDriver self, int *iCode,
|
||||
@@ -30,7 +30,7 @@
|
||||
void (*KillPrivate)(void *pData);
|
||||
} EVDriver;
|
||||
|
||||
#line 258 "evcontroller.w"
|
||||
#line 271 "evcontroller.w"
|
||||
|
||||
/*-------------------- life & death of a driver --------------------------*/
|
||||
pEVDriver CreateEVDriver(int argc, char *argv[]);
|
||||
|
||||
Reference in New Issue
Block a user