Browse Source

Merge commit 'b150810' into bfgminer

Conflicts:
	driver-bitforce.c
Luke Dashjr 13 years ago
parent
commit
7f29b170dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-bitforce.c

+ 1 - 1
driver-bitforce.c

@@ -345,7 +345,7 @@ void bitforce_init(struct cgpu_info *bitforce)
 
 		if (retries++)
 			nmsleep(10);
-	} while (!strstr(pdevbuf, "BUSY") && (retries * 10 < BITFORCE_TIMEOUT_MS));
+	} while (strstr(pdevbuf, "BUSY") && (retries * 10 < BITFORCE_TIMEOUT_MS));
 
 	if (unlikely(!strstr(pdevbuf, "SHA256"))) {
 		mutex_unlock(mutexp);