From c0b89ac5bfb90835ef01573267020e42d4fe070c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 23 Aug 2015 12:17:05 +0200 Subject: Imported Upstream version 1.8.0 --- spectro/insttypes.c | 9 +++++++++ 1 file changed, 9 insertions(+) mode change 100644 => 100755 spectro/insttypes.c (limited to 'spectro/insttypes.c') diff --git a/spectro/insttypes.c b/spectro/insttypes.c old mode 100644 new mode 100755 index 729b328..5a660a8 --- 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 */ -- cgit v1.2.3