Browse Source

Redo recover removal.
FML.

Paul Sheppard 13 years ago
parent
commit
f149aea91e
1 changed files with 3 additions and 4 deletions
  1. 3 4
      driver-bitforce.c

+ 3 - 4
driver-bitforce.c

@@ -363,11 +363,10 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
 
 	if (!ret) {
 		ret = 1;
- 		applog(LOG_ERR, "BFL%i: Comms error, going to recover mode", bitforce->device_id);
+		applog(LOG_ERR, "BFL%i: Comms error", bitforce->device_id);
 		bitforce->device_last_not_well = time(NULL);
-		bitforce->device_not_well_reason = REASON_THREAD_ZERO_HASH;
-		bitforce->thread_zero_hash_count++;
-		bitforce->deven = DEV_RECOVER;
+		bitforce->device_not_well_reason = REASON_DEV_NOSTART;
+		bitforce->dev_nostart_count++;
 	}
 	return ret;
 }