summaryrefslogtreecommitdiff
path: root/spectro/dev.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:00 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:00 +0100
commitf6b8e0eae4374f339487a33e3e4fe5462d5816e1 (patch)
tree5f5f764fd6cda404b2ad6e85762c03fce3a335db /spectro/dev.h
parent615ab5513e79c4abc5bbe5c993587785b6a1738b (diff)
New upstream version 2.0.0upstream/2.0.0
Diffstat (limited to 'spectro/dev.h')
-rwxr-xr-x[-rw-r--r--]spectro/dev.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/spectro/dev.h b/spectro/dev.h
index 0b62de3..004c20f 100644..100755
--- a/spectro/dev.h
+++ b/spectro/dev.h
@@ -29,13 +29,15 @@
/* Device base object. */
#define DEV_OBJ_BASE \
a1log *log; /* Pointer to debug & error logging class */ \
+ devType dtype; /* Device type determined by driver */ \
icoms *icom; /* Device coms object */ \
- instType itype; /* Device type determined by driver */ \
+ int gotcoms; /* Coms established flag */ \
+ int inited; /* Device open and initialized flag */ \
/* The base object type */
struct _dev {
DEV_OBJ_BASE
- }; typedef struct _dev dev;
+}; typedef struct _dev dev;
#define DEV_H
#endif /* DEV_H */