- Adapted indenation to new agreed upon system
- Fixed bad status in poldi zug driver
This commit is contained in:
35
amorcomp.h
35
amorcomp.h
@@ -7,22 +7,21 @@
|
||||
|
||||
Mark Koennecke, October 2005
|
||||
-----------------------------------------------------------------------*/
|
||||
#ifndef AMORCOMP
|
||||
#define AMORCOMP
|
||||
#include <stdio.h>
|
||||
#include <sics.h>
|
||||
|
||||
typedef struct {
|
||||
int activeFlag; /* component present */
|
||||
double markOffset; /* offset mark to real */
|
||||
double scaleOffset; /* offset of the scale */
|
||||
double readPosition; /* the position as read */
|
||||
} amorComp, *pamorComp;
|
||||
#ifndef AMORCOMP
|
||||
#define AMORCOMP
|
||||
#include <stdio.h>
|
||||
#include <sics.h>
|
||||
|
||||
typedef struct {
|
||||
int activeFlag; /* component present */
|
||||
double markOffset; /* offset mark to real */
|
||||
double scaleOffset; /* offset of the scale */
|
||||
double readPosition; /* the position as read */
|
||||
} amorComp, *pamorComp;
|
||||
/*----------------------------------------------------------------------*/
|
||||
double calcCompPosition(pamorComp comp);
|
||||
int handleCompCommand(pamorComp comp, SConnection *pCon,
|
||||
int argc, char *argv[]);
|
||||
int saveAmorComp(FILE *fd, char *name, char *compname, pamorComp comp);
|
||||
|
||||
#endif
|
||||
|
||||
double calcCompPosition(pamorComp comp);
|
||||
int handleCompCommand(pamorComp comp, SConnection * pCon,
|
||||
int argc, char *argv[]);
|
||||
int saveAmorComp(FILE * fd, char *name, char *compname, pamorComp comp);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user