1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 04:54:26 +00:00

Only do_avalon_close once on multiple errors.

This commit is contained in:
Con Kolivas 2013-04-06 18:27:38 +11:00
parent 689f744b62
commit 809fec91a6

View File

@ -939,7 +939,6 @@ static int64_t avalon_scanhash(struct thr_info *thr)
applog(LOG_ERR,
"AVA%i: FPGA controller mess up", avalon->device_id);
dev_error(avalon, REASON_DEV_COMMS_ERROR);
do_avalon_close(thr);
sleep(1);
avalon_init(avalon);
return 0;