summaryrefslogtreecommitdiff
path: root/spectro/dev.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-01 10:32:14 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-01 10:32:14 +0100
commit4097e27114d227692d53c5d28487e12a3833cd24 (patch)
treed5c2a62c4db97de94f92150340612c64d3997669 /spectro/dev.h
parentf8a0a4e1c775a90c313cb83201eec4cea4e9a7da (diff)
parent5514d94483c98e3320b202b1bb882023a7d12027 (diff)
Merge branch 'feature/upstream' into develop
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 */