1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-10 14:04:16 +00:00

Bugfix: ZLX to read BitFORCE temp, not ZKX -.-

This commit is contained in:
Luke Dashjr 2012-02-26 17:01:34 -05:00
parent 2010f0c32d
commit 3ec89d731b

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)");