1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

bflsc try getinfo twice

This commit is contained in:
Kano 2013-06-23 10:01:18 +10:00
parent 34bedf88c6
commit e993cf3644

View File

@ -959,8 +959,17 @@ reinit:
goto unshin;
}
if (!getinfo(bflsc, 0))
goto unshin;
int tries = 0;
while (7734) {
if (getinfo(bflsc, 0))
break;
// N.B. we will get displayed errors each time it fails
if (++tries > 2)
goto unshin;
nmsleep(40);
}
switch (sc_info->driver_version) {
case BFLSC_DRV1: