Browse Source

Give avalon a rest between submissions.

Con Kolivas 12 years ago
parent
commit
8cade64912
1 changed files with 2 additions and 0 deletions
  1. 2 0
      driver-avalon.c

+ 2 - 0
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;
 }