Timeout is now a warning, rather than an error.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Thu, 23 Sep 2010 19:58:52 +0000 (19:58 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Thu, 23 Sep 2010 19:58:52 +0000 (19:58 +0000)
The app won't exit on a timeout.

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

client/GoodFET.py

index 45bd33a..0a3bf1a 100755 (executable)
@@ -287,9 +287,9 @@ class GoodFET:
                     return self.data;
             except TypeError:
                 if self.connected:
                     return self.data;
             except TypeError:
                 if self.connected:
-                    print "Error: waiting for serial read timed out (most likely).";
-                    print "This shouldn't happen after syncing.  Exiting for safety.";                    
-                    sys.exit(-1)
+                    print "Warning: waiting for serial read timed out (most likely).";
+                    #print "This shouldn't happen after syncing.  Exiting for safety.";                    
+                    #sys.exit(-1)
                 return self.data;
     #Glitching stuff.
     def glitchApp(self,app):
                 return self.data;
     #Glitching stuff.
     def glitchApp(self,app):