Browse Source

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.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
e52762c57a
  1. 2
      driver-bitforce.c

2
driver-bitforce.c

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

Loading…
Cancel
Save