1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-30 16:34:23 +00:00

Ask for the correct amount to read in avalon get results.

This commit is contained in:
Con Kolivas 2013-05-27 17:52:34 +10:00
parent 0316592b95
commit 51a44fa779

@ -757,7 +757,7 @@ static void *avalon_get_results(void *userdata)
}
avalon_wait_ready(avalon);
amount = avalon_read(avalon, buf, C_AVALON_READ);
amount = avalon_read(avalon, buf, rsize);
if (amount < 3)
continue;