Browse Source

bflsc try getinfo twice

nfactor-troky
Kano 12 years ago
parent
commit
e993cf3644
  1. 13
      driver-bflsc.c

13
driver-bflsc.c

@ -959,8 +959,17 @@ reinit:
goto unshin; goto unshin;
} }
if (!getinfo(bflsc, 0)) int tries = 0;
goto unshin; 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) { switch (sc_info->driver_version) {
case BFLSC_DRV1: case BFLSC_DRV1:

Loading…
Cancel
Save