1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-09 12:11:02 +00:00

There is no point zeroing temperature in BFL if we fail to get a response, and we should register it as a HW error, suggesting throttling.

This commit is contained in:
Con Kolivas 2012-08-07 20:26:24 +10:00
parent b406dbfe78
commit e52762c57a

View File

@ -350,7 +350,7 @@ static bool bitforce_get_temp(struct cgpu_info *bitforce)
if (unlikely(!pdevbuf[0])) {
applog(LOG_ERR, "BFL%i: Error: Get temp returned empty string/timed out", bitforce->device_id);
bitforce->temp = 0;
bitforce->hw_errors++;
return false;
}