Browse Source

Merge branch 'bugfix_bf_hwe' into bfgminer

Luke Dashjr 13 years ago
parent
commit
60dc628c98
1 changed files with 2 additions and 0 deletions
  1. 2 0
      driver-bitforce.c

+ 2 - 0
driver-bitforce.c

@@ -463,6 +463,8 @@ static int64_t bitforce_get_result(struct thr_info *thr, struct work *work)
 		bitforce->device_last_not_well = time(NULL);
 		bitforce->device_last_not_well = time(NULL);
 		bitforce->device_not_well_reason = REASON_DEV_OVER_HEAT;
 		bitforce->device_not_well_reason = REASON_DEV_OVER_HEAT;
 		bitforce->dev_over_heat_count++;
 		bitforce->dev_over_heat_count++;
+		++bitforce->hw_errors;
+		++hw_errors;
 
 
 		/* If the device truly throttled, it didn't process the job and there
 		/* If the device truly throttled, it didn't process the job and there
 		 * are no results. But check first, just in case we're wrong about it
 		 * are no results. But check first, just in case we're wrong about it