Browse Source

Merge pull request #148 from luke-jr/bugfix_bitforce_temp_ZLX

Bugfix: ZLX to read BitFORCE temp, not ZKX -.-
nfactor-troky
Con Kolivas 13 years ago
parent
commit
2b9a1506c3
  1. 2
      bitforce.c

2
bitforce.c

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

Loading…
Cancel
Save