Commit 6bcd60a931950a38cf06ede701507c6d482856dc

Con Kolivas 2013-10-28T11:50:42

Add KNC to api

diff --git a/api.c b/api.c
index 3494f9e..797777d 100644
--- a/api.c
+++ b/api.c
@@ -29,7 +29,7 @@
 #include "miner.h"
 #include "util.h"
 
-#if defined(USE_BFLSC) || defined(USE_AVALON) || defined(USE_BITFURY) || defined(USE_KLONDIKE)
+#if defined(USE_BFLSC) || defined(USE_AVALON) || defined(USE_BITFURY) || defined(USE_KLONDIKE) || defined(USE_KNC)
 #define HAVE_AN_ASIC 1
 #endif
 
@@ -185,6 +185,9 @@ static const char *DEVICECODE = ""
 #ifdef USE_AVALON
 			"AVA "
 #endif
+#ifdef USE_KNC
+			"KnC "
+#endif
 #ifdef USE_MODMINER
 			"MMQ "
 #endif