Commit 2b9a1506c3878860dbe5d2750d7015cfab33fdd8

Con Kolivas 2012-02-27T01:21:40

Merge pull request #148 from luke-jr/bugfix_bitforce_temp_ZLX Bugfix: ZLX to read BitFORCE temp, not ZKX -.-

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/bitforce.c b/bitforce.c
index 8dc5b02..29aacbc 100644
--- a/bitforce.c
+++ b/bitforce.c
@@ -237,7 +237,7 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
 		return 0;
 	}
 
-	BFwrite(fdDev, "ZKX", 3);
+	BFwrite(fdDev, "ZLX", 3);
 	BFgets(pdevbuf, sizeof(pdevbuf), fdDev);
 	if (unlikely(!pdevbuf[0])) {
 		applog(LOG_ERR, "Error reading from BitForce (ZKX)");