Commit ea3a37b03cb7bd8c39eb6269c3773ceaaca3cd53

Con Kolivas 2014-01-09T15:50:09

Buffer sizes in nanofury device data are unnecessarily large.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/driver-bitfury.h b/driver-bitfury.h
index 581598a..cc20591 100644
--- a/driver-bitfury.h
+++ b/driver-bitfury.h
@@ -83,8 +83,8 @@ struct bitfury_info {
 	int osc6_bits;
 	struct bitfury_payload payload;
 	struct bitfury_payload opayload;
-	unsigned newbuf[20];
-	unsigned oldbuf[20];
+	unsigned newbuf[17];
+	unsigned oldbuf[17];
 	int job_switched;
 	unsigned int results[16];
 	int results_n;