1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 03:24:26 +00:00

Merge pull request #148 from luke-jr/bugfix_bitforce_temp_ZLX

Bugfix: ZLX to read BitFORCE temp, not ZKX -.-
This commit is contained in:
Con Kolivas 2012-02-27 01:21:40 -08:00
commit 2b9a1506c3

View File

@ -237,7 +237,7 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
return 0; return 0;
} }
BFwrite(fdDev, "ZKX", 3); BFwrite(fdDev, "ZLX", 3);
BFgets(pdevbuf, sizeof(pdevbuf), fdDev); BFgets(pdevbuf, sizeof(pdevbuf), fdDev);
if (unlikely(!pdevbuf[0])) { if (unlikely(!pdevbuf[0])) {
applog(LOG_ERR, "Error reading from BitForce (ZKX)"); applog(LOG_ERR, "Error reading from BitForce (ZKX)");