Browse Source

Merge commit '3e22ddf' into bfgminer

Luke Dashjr 12 years ago
parent
commit
1a16abaf96
1 changed files with 2 additions and 0 deletions
  1. 2 0
      driver-bigpic.c

+ 2 - 0
driver-bigpic.c

@@ -187,6 +187,7 @@ static void bigpic_process_results(struct thr_info *thr, struct work *work)
 
 	uint32_t results[16*6];
 	uint32_t num_results;
+	int hwe = 0;
 
 	uint32_t m7    = *((uint32_t *)&work->data[64]);
 	uint32_t ntime = *((uint32_t *)&work->data[68]);
@@ -212,6 +213,7 @@ static void bigpic_process_results(struct thr_info *thr, struct work *work)
 		if (bitfury_fudge_nonce(work->midstate, m7, ntime, nbits, &nonce))
 			submit_nonce(thr, work, nonce);
 		else
+		if (info->rx_buffer[i + 3] != '\xe0' || hwe++)
 			inc_hw_errors(thr, work, nonce);
 	}
 }