Commit 8cade64912481398542d0742ff9c8bf49b09f800

Con Kolivas 2013-11-07T07:10:15

Give avalon a rest between submissions.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-avalon.c b/driver-avalon.c
index f63f881..c17bc84 100644
--- a/driver-avalon.c
+++ b/driver-avalon.c
@@ -197,6 +197,8 @@ static int avalon_send_task(const struct avalon_task *at, struct cgpu_info *aval
 		hexdump(buf, nr_len);
 	}
 	ret = avalon_write(avalon, (char *)buf, nr_len, ep);
+	/* Avalon needs a rest between submissions :P */
+	cgsleep_ms(4);
 
 	return ret;
 }