diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 15:43:52 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 15:43:52 +0200 |
commit | c07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 (patch) | |
tree | 41791cbe367cf023b98043fee56f9346b2592b49 /spectro/insttypes.c | |
parent | d7f89e6fe63b8697fab5a901cfce457b375638b3 (diff) |
Imported Upstream version 1.6.3upstream/1.6.3
Diffstat (limited to 'spectro/insttypes.c')
-rw-r--r-- | spectro/insttypes.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/spectro/insttypes.c b/spectro/insttypes.c index e0863d0..d70bc71 100644 --- a/spectro/insttypes.c +++ b/spectro/insttypes.c @@ -86,6 +86,10 @@ char *inst_sname(instType itype) { return "Huey"; case instSmile: return "Smile"; + case instSpecbos1201: + return "specbos 1201"; + case instSpecbos: + return "specbos"; case instColorHug: return "ColorHug"; default: @@ -143,6 +147,10 @@ char *inst_name(instType itype) { return "GretagMacbeth Huey"; case instSmile: return "ColorMunki Smile"; + case instSpecbos1201: + return "JETI specbos 1201"; + case instSpecbos: + return "JETI specbos"; case instColorHug: return "Hughski ColorHug"; default: @@ -205,9 +213,14 @@ instType inst_enum(char *name) { return instHuey; else if (strcmp(name, "ColorMunki Smile") == 0) return instSmile; + else if (strcmp(name, "JETI specbos 1201") == 0) + return instSpecbos1201; + else if (strcmp(name, "JETI specbos") == 0) + return instSpecbos; else if (strcmp(name, "Hughski ColorHug") == 0) return instColorHug; + return instUnknown; } @@ -286,6 +299,8 @@ int nep) { /* Number of end points */ } /* Add other instruments here */ + + return instUnknown; } @@ -371,6 +386,10 @@ int inst_illuminant(xspect *sp, instType itype) { case instSmile: return 1; /* Not applicable */ + case instSpecbos1201: + case instSpecbos: + return 1; /* Not applicable */ + case instColorHug: return 1; /* Not applicable */ |