Browse Source

Decrease the avalon read timeout to less than the time it takes to fill the tiny 64 byte buffer.

Con Kolivas 12 years ago
parent
commit
093a6302dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-avalon.h

+ 1 - 1
driver-avalon.h

@@ -66,7 +66,7 @@
 #define AVALON_FTDI_READSIZE 510
 #define AVALON_READBUF_SIZE 8192
 #define AVALON_RESET_TIMEOUT 100
-#define AVALON_READ_TIMEOUT 18 /* Enough to only half fill the buffer */
+#define AVALON_READ_TIMEOUT 4 /* Just less than the time it takes to fill the buffer */
 #define AVALON_LATENCY 1
 
 struct avalon_task {