From e4f9cc4e3e296eac39979c20e5bb378bc027c4d1 Mon Sep 17 00:00:00 2001 From: Kano Date: Wed, 27 Jun 2012 21:21:54 +1000 Subject: [PATCH] api.c allow unwell devices to be enabled so they can be cured --- api.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api.c b/api.c index ff26e54f..ac5b9a6b 100644 --- a/api.c +++ b/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;