From 7506e499b91608ea722e0e6d99966236bcd777f1 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 27 May 2013 20:37:21 +1000 Subject: [PATCH] Offset needs to be incremented after avalon reads. --- driver-avalon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/driver-avalon.c b/driver-avalon.c index 537ace1e..9408676b 100644 --- a/driver-avalon.c +++ b/driver-avalon.c @@ -796,6 +796,7 @@ static void *avalon_get_results(void *userdata) } memcpy(&readbuf[offset], &buf, ret); + offset += ret; } return NULL; }