mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-05 03:24:26 +00:00
Redo recover removal.
FML.
This commit is contained in:
parent
90d82aa61d
commit
f149aea91e
@ -363,11 +363,10 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
|
|||||||
|
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
ret = 1;
|
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_last_not_well = time(NULL);
|
||||||
bitforce->device_not_well_reason = REASON_THREAD_ZERO_HASH;
|
bitforce->device_not_well_reason = REASON_DEV_NOSTART;
|
||||||
bitforce->thread_zero_hash_count++;
|
bitforce->dev_nostart_count++;
|
||||||
bitforce->deven = DEV_RECOVER;
|
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user