1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00

Icarus restore auto/noauto handling

This commit is contained in:
Kano 2012-04-24 02:30:31 +10:00
parent 403f63ae20
commit 16b9ebee28

View File

@ -274,6 +274,8 @@ static void icarus_detect()
s = iter->string; s = iter->string;
if (!strncmp("icarus:", iter->string, 7)) if (!strncmp("icarus:", iter->string, 7))
s += 7; s += 7;
if (!strcmp(s, "auto") || !strcmp(s, "noauto"))
continue;
if (icarus_detect_one(s)) if (icarus_detect_one(s))
string_elist_del(iter); string_elist_del(iter);
} }