From c07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 1 Sep 2014 15:43:52 +0200 Subject: Imported Upstream version 1.6.3 --- spectro/insttypes.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'spectro/insttypes.c') 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 */ -- cgit v1.2.3