Browse Source

bitfury: After 8 bad nonces in a sample period, reinit immediately rather than waiting for the remaining up-to-0x38

Luke Dashjr 12 years ago
parent
commit
c3a6b71512
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-bitfury.c

+ 1 - 1
driver-bitfury.c

@@ -541,7 +541,7 @@ void bitfury_do_io(struct thr_info *thr)
 				inc_hw_errors(thr, thr->work, nonce);
 				++bitfury->sample_hwe;
 			}
-			if (++bitfury->sample_tot >= 0x40)
+			if (++bitfury->sample_tot >= 0x40 || bitfury->sample_hwe >= 8)
 			{
 				if (bitfury->sample_hwe >= 8)
 				{