Commit ecedd7721454a64cb64b8dba8124f2e10d68e8d0

Con Kolivas 2013-11-12T17:28:45

Set avalon ftdi latency to just less than the time it would take to fill the ftdi buffer at 115200 baud

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/driver-avalon.h b/driver-avalon.h
index 0a11161..9111291 100644
--- a/driver-avalon.h
+++ b/driver-avalon.h
@@ -65,7 +65,8 @@
 
 #define AVALON_FTDI_READSIZE 510
 #define AVALON_READBUF_SIZE 8192
-#define AVALON_LATENCY 16 /* This is basically the ftdi default anyway */
+/* Set latency to just less than full 64 byte packet size at 115200 baud */
+#define AVALON_LATENCY 4
 
 struct avalon_task {
 	uint8_t reset		:1;