From 8e28954868efbb609df0c37369b8d1ec9425d4f1 Mon Sep 17 00:00:00 2001 From: chrishoder Date: Fri, 1 Feb 2013 03:47:51 +0000 Subject: [PATCH] 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 --- client/GoodFETMCPCANCommunication.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.20.1