projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Emergency fix: accidentally used C comment style in Python.
[goodfet]
/
client
/
GoodFETCCSPI.py
diff --git
a/client/GoodFETCCSPI.py
b/client/GoodFETCCSPI.py
index
0068e3e
..
4a507d2
100644
(file)
--- a/
client/GoodFETCCSPI.py
+++ b/
client/GoodFETCCSPI.py
@@
-135,8
+135,8
@@
class GoodFETCCSPI(GoodFET):
fsctrl=0x8000; #self.peek(0x18)&(~0x3FF);
fsctrl=fsctrl+int(mhz-2048)
self.poke(0x18,fsctrl);
fsctrl=0x8000; #self.peek(0x18)&(~0x3FF);
fsctrl=fsctrl+int(mhz-2048)
self.poke(0x18,fsctrl);
- self.strobe(0x02);
//
SCAL
- self.strobe(0x03);
//
SRXON
+ self.strobe(0x02);
#
SCAL
+ self.strobe(0x03);
#
SRXON
def RF_getfreq(self):
"""Get the frequency in Hz."""
fsctrl=self.peek(0x18);
def RF_getfreq(self):
"""Get the frequency in Hz."""
fsctrl=self.peek(0x18);