1
0
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:
Con Kolivas 2013-04-05 18:34:05 +11:00
parent 180230220f
commit f0806c6828

View File

@ -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;