diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-11-25 10:16:54 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-11-25 10:16:54 +0100 |
commit | 1b1126bd023a2bb92699773a1867358067dabcb8 (patch) | |
tree | 6fd56d034e5a154c7992e7855d61691cecd043c4 /spectro/i1pro.c | |
parent | cb5c7cec4aa1946f75dc3d408eb7f1051f3fb3d4 (diff) | |
parent | f6b8e0eae4374f339487a33e3e4fe5462d5816e1 (diff) |
Update upstream source from tag 'upstream/2.0.0'
Update to upstream version '2.0.0'
with Debian dir e866e6e75661017faaa5331becda76021407390b
Diffstat (limited to 'spectro/i1pro.c')
-rwxr-xr-x[-rw-r--r--] | spectro/i1pro.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/spectro/i1pro.c b/spectro/i1pro.c index 44614d2..4399c57 100644..100755 --- a/spectro/i1pro.c +++ b/spectro/i1pro.c @@ -64,6 +64,7 @@ #include "numsup.h" #include "rspl1.h" #endif /* SALONEINSTLIB */ +#include "cgats.h" #include "xspect.h" #include "insttypes.h" #include "conv.h" @@ -140,15 +141,15 @@ i1pro_determine_capabilities(i1pro *p) { ; /* Set the Pro capabilities mask */ - if (p->itype == instI1Pro - || p->itype == instI1Pro2) { + if (p->dtype == instI1Pro + || p->dtype == instI1Pro2) { p->cap |= inst_mode_ref_spot | inst_mode_ref_strip ; } /* Set the Pro2 capabilities mask */ - if (p->itype == instI1Pro2) { + if (p->dtype == instI1Pro2) { p->cap |= inst_mode_ref_uv ; } @@ -911,7 +912,7 @@ i1pro_del(inst *pp) { } /* Constructor */ -extern i1pro *new_i1pro(icoms *icom, instType itype) { +extern i1pro *new_i1pro(icoms *icom, instType dtype) { i1pro *p; int rv; if ((p = (i1pro *)calloc(sizeof(i1pro),1)) == NULL) { @@ -940,7 +941,7 @@ extern i1pro *new_i1pro(icoms *icom, instType itype) { p->del = i1pro_del; p->icom = icom; - p->itype = itype; + p->dtype = dtype; i1pro_determine_capabilities(p); |