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.

Con Kolivas 13 years ago
parent
commit
e52762c57a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-bitforce.c

+ 1 - 1
driver-bitforce.c

@@ -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;
 	}