Blob Blame History Raw
--- hargyllcms-1.3.6/spectro/insttypes.c.old	2012-05-21 14:46:50.125230249 +0100
+++ hargyllcms-1.3.6/spectro/insttypes.c	2012-05-21 14:48:23.260223881 +0100
@@ -198,11 +198,19 @@ unsigned short idProduct) {
 			return instSpyder4;
 	}
 
+	/* this is deprecated */
 	if (idVendor == 0x04d8) {		/* Microchip */
 		if (idProduct == 0xf8da) {	/* Hughski ColorHug */
 			return instColorHug;
 		}
 	}
+
+	/* this is for ColorHug firmware >= 0.1.20 */
+	if (idVendor == 0x273f) {		/* Hughski Limited */
+		if (idProduct == 0x1001) {	/* ColorHug */
+			return instColorHug;
+		}
+	}
 	/* Add other instruments here */
 
 	return instUnknown;