diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-03 20:38:41 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-03 20:38:41 +0100 |
commit | ba627dd9ecb578e9852c7b9cce67ec63199d1acf (patch) | |
tree | 27c4258311ca8c8ed7ff67a8a0bc7280e8fcae79 /spectro/dev.h | |
parent | 69aec3b712232e93600ecd741269fed1f90b412a (diff) | |
parent | 3abb40d43649adb3807180692d8579c405524675 (diff) |
Merge branch 'release/2.0.0+repack-1'2.0.0+repack-1
Diffstat (limited to 'spectro/dev.h')
-rwxr-xr-x[-rw-r--r--] | spectro/dev.h | 6 |
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 */ |