mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
bflsc correct firmware matching
This commit is contained in:
parent
84a5da0377
commit
3ac09fa2d9
@ -371,7 +371,7 @@ static enum driver_version drv_ver(struct cgpu_info *bflsc, const char *ver)
|
||||
if (strcmp(ver, "1.0.0") == 0)
|
||||
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",
|
||||
bflsc->drv->dname, bflsc->device_path, ver);
|
||||
return BFLSC_DRV1;
|
||||
|
Loading…
Reference in New Issue
Block a user