From 063169b97150bc63858a393f503273dbaa3489a5 Mon Sep 17 00:00:00 2001 From: chrishoder Date: Wed, 6 Feb 2013 04:43:33 +0000 Subject: [PATCH] changes to allow for deltaT of each packet to work. debugged and displaying nicely git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1462 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- client/GoodFETMCPCANCommunication.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/GoodFETMCPCANCommunication.py b/client/GoodFETMCPCANCommunication.py index 40983c2..226366e 100644 --- a/client/GoodFETMCPCANCommunication.py +++ b/client/GoodFETMCPCANCommunication.py @@ -157,7 +157,9 @@ class GoodFETMCPCANCommunication: #add the data to list if the pointer was included if(data != None and packet != None): #data.append(self.client.packet2parsedstr(packet)) - data.put(self.client.packet2parsed(packet)) + packetParsed = self.client.packet2parsed(packet) + packetParsed["time"] =time.time() + data.put(packetParsed) if(debug == True): #check packet status MCPstatusReg = self.client.MCPrxstatus(); -- 2.20.1