mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-09 04:31:47 +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:
parent
dec99ab739
commit
1dff4297fa
@ -453,7 +453,7 @@ void pause_dynamic_threads(int gpu)
|
|||||||
if (!thread_no++)
|
if (!thread_no++)
|
||||||
continue;
|
continue;
|
||||||
thr->pause = cgpu->dynamic;
|
thr->pause = cgpu->dynamic;
|
||||||
if (!cgpu->dynamic)
|
if (!cgpu->dynamic && cgpu->enabled)
|
||||||
tq_push(thr->q, &ping);
|
tq_push(thr->q, &ping);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user