from random import randrange
from GoodFETMCPCAN import GoodFETMCPCAN;
from intelhex import IntelHex;
+import Queue
class GoodFETMCPCANCommunication:
#add the data to list if the pointer was included
if(data != None):
- data.append(self.client.packet2parsedstr(packet))
-
+ #data.append(self.client.packet2parsedstr(packet))
+ data.put(self.client.packet2parsedstr(packet))
if(debug == True):
#check packet status
MCPstatusReg = self.client.MCPrxstatus();