|
|
@ -1174,10 +1174,12 @@ static void pgaenable(__maybe_unused SOCKETTYPE c, char *param, bool isjson) |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if 0 /* A DISABLED device wont change status FIXME: should disabling make it WELL? */
|
|
|
|
if (cgpu->status != LIFE_WELL) { |
|
|
|
if (cgpu->status != LIFE_WELL) { |
|
|
|
strcpy(io_buffer, message(MSG_PGAUNW, id, NULL, isjson)); |
|
|
|
strcpy(io_buffer, message(MSG_PGAUNW, id, NULL, isjson)); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
for (i = 0; i < mining_threads; i++) { |
|
|
|
for (i = 0; i < mining_threads; i++) { |
|
|
|
pga = thr_info[i].cgpu->device_id; |
|
|
|
pga = thr_info[i].cgpu->device_id; |
|
|
|