spit upgrades in mainDisplay and communication files
authorchrishoder <chrishoder@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Fri, 1 Feb 2013 03:16:02 +0000 (03:16 +0000)
committerchrishoder <chrishoder@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Fri, 1 Feb 2013 03:16:02 +0000 (03:16 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1434 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/GoodFETMCPCANCommunication.py

index 75d9662..b4a781d 100644 (file)
@@ -393,10 +393,14 @@ class GoodFETMCPCANCommunication:
         self.client.MCPsetrate(freq);
         self.client.MCPreqstatNormal();
         
-    def spit(self,freq, standardid, repeat, duration = None, debug = False, packet = None):
     
+    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):
+
+    def spit(self,freq, standardid, repeat, duration = None, debug = False, packet = None):
+    
+
         #### split SID into different regs
         SIDlow = (standardid[0] & 0x07) << 5;  # get SID bits 2:0, rotate them to bits 7:5
         SIDhigh = (standardid[0] >> 3) & 0xFF; # get SID bits 10:3, rotate them to bits 7:0