Browse Source

Offset needs to be incremented after avalon reads.

Con Kolivas 13 years ago
parent
commit
7506e499b9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      driver-avalon.c

+ 1 - 0
driver-avalon.c

@@ -796,6 +796,7 @@ static void *avalon_get_results(void *userdata)
 		}
 
 		memcpy(&readbuf[offset], &buf, ret);
+		offset += ret;
 	}
 	return NULL;
 }