Commit ea21e642bf8e7333f80576602ab1b98bd5aedf5f

Con Kolivas 2014-01-02T01:15:44

Don't keep resetting BXF clockspeed to default.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-bitfury.c b/driver-bitfury.c
index b790ff3..bb39973 100644
--- a/driver-bitfury.c
+++ b/driver-bitfury.c
@@ -389,7 +389,7 @@ static bool bxf_send_clock(struct cgpu_info *bitfury, struct bitfury_info *info,
 
 static void parse_bxf_temp(struct cgpu_info *bitfury, struct bitfury_info *info, char *buf)
 {
-	uint8_t clockspeed = BXF_CLOCK_DEFAULT;
+	uint8_t clockspeed = info->clocks;
 	int decitemp;
 
 	if (!sscanf(&buf[5], "%d", &decitemp)) {