Browse Source

Merge branch 'bugfix_ztex_globalhwe' into bfgminer

Conflicts:
	ztex.c
Luke Dashjr 13 years ago
parent
commit
1e654c6d2e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      driver-ztex.c

+ 1 - 0
driver-ztex.c

@@ -280,6 +280,7 @@ static int64_t ztex_scanhash(struct thr_info *thr, struct work *work,
 			nonce = htole32(nonce);
 			nonce = htole32(nonce);
 			if (!ztex_checkNonce(ztex, work, &hdata[i])) {
 			if (!ztex_checkNonce(ztex, work, &hdata[i])) {
 				thr->cgpu->hw_errors++;
 				thr->cgpu->hw_errors++;
+				++hw_errors;
 				continue;
 				continue;
 			}
 			}
 			for (j=0; j<=ztex->extraSolutions; j++) {
 			for (j=0; j<=ztex->extraSolutions; j++) {