Commit 5eb75df40b290d725935d1d7d7406cccd523fb4c

Con Kolivas 2014-07-16T04:09:36

Fix missing osm-led-mode support in write config

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/cgminer.c b/cgminer.c
index c214c97..a191a7d 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -5015,6 +5015,7 @@ void write_config(FILE *fcfg)
 			     (void *)opt->cb_arg == (void *)set_int_0_to_100 ||
 			     (void *)opt->cb_arg == (void *)set_int_0_to_255 ||
 			     (void *)opt->cb_arg == (void *)set_int_0_to_200 ||
+			     (void *)opt->cb_arg == (void *)set_int_0_to_4 ||
 			     (void *)opt->cb_arg == (void *)set_int_32_to_63)) {
 				fprintf(fcfg, ",\n\"%s\" : \"%d\"", p+2, *(int *)opt->u.arg);
 				continue;