From: chrishoder Date: Fri, 1 Feb 2013 03:47:51 +0000 (+0000) Subject: debug on the spit method in the communication file X-Git-Url: http://git.rot13.org/?p=goodfet;a=commitdiff_plain;h=8e28954868efbb609df0c37369b8d1ec9425d4f1 debug on the spit method in the communication file git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1436 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- diff --git a/client/GoodFETMCPCANCommunication.py b/client/GoodFETMCPCANCommunication.py index 8f141b0..f91958e 100644 --- a/client/GoodFETMCPCANCommunication.py +++ b/client/GoodFETMCPCANCommunication.py @@ -396,7 +396,7 @@ class GoodFETMCPCANCommunication: def spitSingle(self,freq, standardid, repeat, duration = None, debug = False, packet = None): self.spitSetup(freq); - spit(self,freq, standardid, repeat, duration = None, debug = False, packet = None): + spit(self,freq, standardid, repeat, duration = None, debug = False, packet = None) def spit(self,freq, standardid, repeat, duration = None, debug = False, packet = None): @@ -452,10 +452,11 @@ class GoodFETMCPCANCommunication: starttime = time.time(); while((time.time()-starttime < duration)): self.client.MCPrts(TXB0=True); + print "MSG printed" else: while(1): self.client.MCPrts(TXB0=True); - + print "messages injected" # MORE DEBUGGING if(debug): checkcount = 0;