Commit 76c37891ea5267ce71809123c1af03247000c3f5

Con Kolivas 2012-07-16T13:19:42

Handle KL_SCRYPT in config write.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/cgminer.c b/cgminer.c
index 7953baa..990a397 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2851,6 +2851,11 @@ void write_config(FILE *fcfg)
 				case KL_DIABLO:
 					fprintf(fcfg, "diablo");
 					break;
+#ifdef USE_SCRYPT
+				case KL_SCRYPT:
+					fprintf(fcfg, "scrypt");
+					break;
+#endif
 			}
 		}
 #ifdef HAVE_ADL