From e296256a848905e63a7d881dd5dcea9ce323adca Mon Sep 17 00:00:00 2001 From: travisutk Date: Sat, 29 May 2010 23:10:20 +0000 Subject: [PATCH] NOP verb. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@587 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- client/GoodFET.py | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.20.1