diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-08-23 12:17:05 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-08-23 12:17:05 +0200 |
commit | c0b89ac5bfb90835ef01573267020e42d4fe070c (patch) | |
tree | 733c16852d964d84b7565af4bdaff0bcca901b88 /spectro/insttypes.c | |
parent | 094535c010320967639e8e86f974d878e80baa72 (diff) |
Imported Upstream version 1.8.0upstream/1.8.0
Diffstat (limited to 'spectro/insttypes.c')
-rwxr-xr-x[-rw-r--r--] | spectro/insttypes.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spectro/insttypes.c b/spectro/insttypes.c index 729b328..5a660a8 100644..100755 --- a/spectro/insttypes.c +++ b/spectro/insttypes.c @@ -98,6 +98,8 @@ char *inst_sname(instType itype) { return "K-10"; case instEX1: return "EX1"; + case instSMCube: + return "Cube"; case instColorHug: return "ColorHug"; case instColorHug2: @@ -169,6 +171,8 @@ char *inst_name(instType itype) { return "Klein K-10"; case instEX1: return "Image Engineering EX1"; + case instSMCube: + return "SwatchMate Cube"; case instColorHug: return "Hughski ColorHug"; case instColorHug2: @@ -258,6 +262,8 @@ instType inst_enum(char *name) { return instKleinK10; else if (strcmp(name, "Image Engineering EX1") == 0) return instEX1; + else if (strcmp(name, "SwatchMate Cube") == 0) + return instSMCube; else if (strcmp(name, "Hughski ColorHug") == 0) return instColorHug; else if (strcmp(name, "Hughski ColorHug2") == 0) @@ -447,6 +453,9 @@ int inst_illuminant(xspect *sp, instType itype) { case instEX1: return 1; /* Not applicable */ + case instSMCube: + return 1; /* Not applicable */ + case instColorHug: case instColorHug2: return 1; /* Not applicable */ |