Commit 083e36156dd89e2f1d34fd291a4dc15b9ae83e03

Con Kolivas 2014-04-14T20:33:15

Adjust the bxf sleep time according to the number of chips detected

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-bitfury.c b/driver-bitfury.c
index 5c5fd61..975179e 100644
--- a/driver-bitfury.c
+++ b/driver-bitfury.c
@@ -1226,7 +1226,7 @@ static int64_t bxf_scan(struct cgpu_info *bitfury, struct bitfury_info *info)
 	int aged;
 
 	bxf_update_work(bitfury, info);
-	cgsleep_ms(600);
+	cgsleep_ms(1200 / info->chips);
 
 	mutex_lock(&info->lock);
 	ret = bitfury_rate(info);