Closer to a self contained carrier wave.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Tue, 7 Dec 2010 20:46:48 +0000 (20:46 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Tue, 7 Dec 2010 20:46:48 +0000 (20:46 +0000)
You should have seen how ugly the last hack to do this was.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@771 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/GoodFETCC.py

index b983f4c..4b9c277 100644 (file)
@@ -350,6 +350,8 @@ class GoodFETCC(GoodFET):
         self.writecmd(self.APP,0x02, 2, self.data);
         return ord(self.data[0]);
     def pokebyte(self,adr,val,mem="data"):
+        if mem!="data":
+            print "FIXME: poking of non data bytes not yet supported.";
         self.CCpokedatabyte(adr,val);
     def CCpokedatabyte(self,adr,val):
         """Write a byte to data memory."""