mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
api.c allow unwell devices to be enabled so they can be cured
This commit is contained in:
parent
f43ee5d652
commit
e4f9cc4e3e
2
api.c
2
api.c
@ -1174,10 +1174,12 @@ static void pgaenable(__maybe_unused SOCKETTYPE c, char *param, bool isjson)
|
||||
return;
|
||||
}
|
||||
|
||||
#if 0 /* A DISABLED device wont change status FIXME: should disabling make it WELL? */
|
||||
if (cgpu->status != LIFE_WELL) {
|
||||
strcpy(io_buffer, message(MSG_PGAUNW, id, NULL, isjson));
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
for (i = 0; i < mining_threads; i++) {
|
||||
pga = thr_info[i].cgpu->device_id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user