Browse Source

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

nfactor-troky
Con Kolivas 12 years ago
parent
commit
51a44fa779
  1. 2
      driver-avalon.c

2
driver-avalon.c

@ -757,7 +757,7 @@ static void *avalon_get_results(void *userdata) @@ -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;

Loading…
Cancel
Save