Web docco for MONITOR_CONNECTED.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sun, 9 May 2010 23:36:20 +0000 (23:36 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sun, 9 May 2010 23:36:20 +0000 (23:36 +0000)
Increased serial timeout fixed 1xx support.  Minor delay for 2xx chips on first connection.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@488 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/GoodFET.py

index ec1c470..d7875bc 100755 (executable)
@@ -69,7 +69,7 @@ class GoodFET:
         return self.symbols.get(name);
     def timeout(self):
         print "timeout\n";
-    def serInit(self, port=None, timeout=0.5):
+    def serInit(self, port=None, timeout=2):
         """Open the serial port"""
         # Make timeout None to wait forever, 0 for non-blocking mode.