1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Don't send a ping to a dynamic device if it's not enabled as that will just enable it for one pass and then disable it again.

This commit is contained in:
Con Kolivas 2012-02-06 17:43:24 +11:00
parent dec99ab739
commit 1dff4297fa

View File

@ -453,7 +453,7 @@ void pause_dynamic_threads(int gpu)
if (!thread_no++)
continue;
thr->pause = cgpu->dynamic;
if (!cgpu->dynamic)
if (!cgpu->dynamic && cgpu->enabled)
tq_push(thr->q, &ping);
}
}