mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-31 00:44:19 +00:00
Ask for the correct amount to read in avalon get results.
This commit is contained in:
parent
0316592b95
commit
51a44fa779
@ -757,7 +757,7 @@ static void *avalon_get_results(void *userdata)
|
|||||||
}
|
}
|
||||||
|
|
||||||
avalon_wait_ready(avalon);
|
avalon_wait_ready(avalon);
|
||||||
amount = avalon_read(avalon, buf, C_AVALON_READ);
|
amount = avalon_read(avalon, buf, rsize);
|
||||||
|
|
||||||
if (amount < 3)
|
if (amount < 3)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user