Browse Source

Bugfix: bitforce: 1 decisecond timeout is unreasonably short, give it a second

Luke Dashjr 13 years ago
parent
commit
49d2a3ed0e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-bitforce.c

+ 1 - 1
driver-bitforce.c

@@ -35,7 +35,7 @@
 struct device_api bitforce_api;
 struct device_api bitforce_api;
 
 
 // Code must deal with a timeout
 // Code must deal with a timeout
-#define BFopen(devpath)  serial_open(devpath, 0, 1, true)
+#define BFopen(devpath)  serial_open(devpath, 0, 10, true)
 
 
 static void BFgets(char *buf, size_t bufLen, int fd)
 static void BFgets(char *buf, size_t bufLen, int fd)
 {
 {