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:
parent
b406dbfe78
commit
e52762c57a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user