mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 22:14:36 +00:00
Actually put the work in the avalon queue.
This commit is contained in:
parent
180230220f
commit
f0806c6828
@ -768,7 +768,7 @@ static bool avalon_fill(struct cgpu_info *avalon)
|
|||||||
|
|
||||||
if (unlikely(!work))
|
if (unlikely(!work))
|
||||||
return false;
|
return false;
|
||||||
avalon->queued++;
|
avalon->works[avalon->queued++] = work;
|
||||||
if (avalon->queued == avalon_info[avalon->device_id]->miner_count)
|
if (avalon->queued == avalon_info[avalon->device_id]->miner_count)
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user