Browse Source

bflsc correct firmware matching

nfactor-troky
Kano 12 years ago
parent
commit
3ac09fa2d9
  1. 2
      driver-bflsc.c

2
driver-bflsc.c

@ -371,7 +371,7 @@ static enum driver_version drv_ver(struct cgpu_info *bflsc, const char *ver)
if (strcmp(ver, "1.0.0") == 0) if (strcmp(ver, "1.0.0") == 0)
return BFLSC_DRV1; return BFLSC_DRV1;
if (strncmp(ver, "1.0", 3) == 0 || strncmp(ver, "1.1", 3)) { if (strncmp(ver, "1.0", 3) == 0 || strncmp(ver, "1.1", 3) == 0) {
applog(LOG_WARNING, "%s detect (%s) Warning assuming firmware '%s' is Ver1", applog(LOG_WARNING, "%s detect (%s) Warning assuming firmware '%s' is Ver1",
bflsc->drv->dname, bflsc->device_path, ver); bflsc->drv->dname, bflsc->device_path, ver);
return BFLSC_DRV1; return BFLSC_DRV1;

Loading…
Cancel
Save