diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-01 10:32:14 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-01 10:32:14 +0100 |
commit | 4097e27114d227692d53c5d28487e12a3833cd24 (patch) | |
tree | d5c2a62c4db97de94f92150340612c64d3997669 /spectro/dtp51.c | |
parent | f8a0a4e1c775a90c313cb83201eec4cea4e9a7da (diff) | |
parent | 5514d94483c98e3320b202b1bb882023a7d12027 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'spectro/dtp51.c')
-rwxr-xr-x[-rw-r--r--] | spectro/dtp51.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spectro/dtp51.c b/spectro/dtp51.c index 0b2ecab..70932e5 100644..100755 --- a/spectro/dtp51.c +++ b/spectro/dtp51.c @@ -51,6 +51,7 @@ #include "sa_config.h" #include "numsup.h" #endif /* !SALONEINSTLIB */ +#include "cgats.h" #include "xspect.h" #include "insttypes.h" #include "conv.h" @@ -896,7 +897,7 @@ dtp51_get_set_opt(inst *pp, inst_opt_type m, ...) { } /* Constructor */ -extern dtp51 *new_dtp51(icoms *icom, instType itype) { +extern dtp51 *new_dtp51(icoms *icom, instType dtype) { dtp51 *p; if ((p = (dtp51 *)calloc(sizeof(dtp51),1)) == NULL) { a1loge(icom->log, 1, "new_dtp51: malloc failed!\n"); @@ -918,7 +919,7 @@ extern dtp51 *new_dtp51(icoms *icom, instType itype) { p->del = dtp51_del; p->icom = icom; - p->itype = itype; + p->dtype = dtype; p->native_calstd = xcalstd_xrdi; /* Not alterable */ |