From: travisutk Date: Sat, 29 May 2010 23:10:20 +0000 (+0000) Subject: NOP verb. X-Git-Url: http://git.rot13.org/?p=goodfet;a=commitdiff_plain;h=e296256a848905e63a7d881dd5dcea9ce323adca;ds=sidebyside NOP verb. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@587 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- diff --git a/client/GoodFET.py b/client/GoodFET.py index 579eff0..ab6ac30 100755 --- a/client/GoodFET.py +++ b/client/GoodFET.py @@ -195,6 +195,10 @@ class GoodFET: print "# DEBUG %s" % self.serialport.read(self.count) elif self.verb==0xFE: print "# DEBUG 0x%x" % struct.unpack(fmt[self.count-1], self.serialport.read(self.count))[0] + elif self.verb==0xFD: + #Do nothing, just wait so there's no timeout. + print "# NOP."; + sys.stdout.flush(); else: self.data=self.serialport.read(self.count);