summaryrefslogtreecommitdiff
path: root/spectro/insttypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'spectro/insttypes.c')
-rw-r--r--spectro/insttypes.c19
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 */