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:
parent
dec99ab739
commit
1dff4297fa
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user