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/dtp20.c | |
parent | 69aec3b712232e93600ecd741269fed1f90b412a (diff) | |
parent | 3abb40d43649adb3807180692d8579c405524675 (diff) |
Merge branch 'release/2.0.0+repack-1'2.0.0+repack-1
Diffstat (limited to 'spectro/dtp20.c')
-rwxr-xr-x[-rw-r--r--] | spectro/dtp20.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spectro/dtp20.c b/spectro/dtp20.c index a125a53..c33dc3d 100644..100755 --- a/spectro/dtp20.c +++ b/spectro/dtp20.c @@ -67,6 +67,7 @@ #include "sa_config.h" #endif /* SALONEINSTLIB */ #include "numsup.h" +#include "cgats.h" #include "xspect.h" #include "insttypes.h" #include "conv.h" @@ -1737,7 +1738,7 @@ inst_opt_type m, /* Requested status type */ } /* Constructor */ -extern dtp20 *new_dtp20(icoms *icom, instType itype) { +extern dtp20 *new_dtp20(icoms *icom, instType dtype) { dtp20 *p; if ((p = (dtp20 *)calloc(sizeof(dtp20),1)) == NULL) { a1loge(icom->log, 1, "new_dtp20: malloc failed!\n"); @@ -1761,7 +1762,7 @@ extern dtp20 *new_dtp20(icoms *icom, instType itype) { p->del = dtp20_del; p->icom = icom; - p->itype = itype; + p->dtype = dtype; p->cap = inst_mode_none; /* Unknown until set */ p->mode = inst_mode_none; /* Not in a known mode yet */ |