projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make GoodFETCCSPI.py return True if a register poke succeeds, else False. Also change...
[goodfet]
/
client
/
GoodFETCCSPI.py
diff --git
a/client/GoodFETCCSPI.py
b/client/GoodFETCCSPI.py
index
43001b8
..
0e2d787
100644
(file)
--- a/
client/GoodFETCCSPI.py
+++ b/
client/GoodFETCCSPI.py
@@
-89,7
+89,8
@@
class GoodFETCCSPI(GoodFET):
reg,
val,
self.peek(reg,bytes));
reg,
val,
self.peek(reg,bytes));
- return;
+ return False;
+ return True;
def status(self):
"""Read the status byte."""
def status(self):
"""Read the status byte."""
@@
-200,7
+201,7
@@
class GoodFETCCSPI(GoodFET):
and that also sends a forged ACK if needed."""
data = "";
self.writecmd(self.CCSPIAPP,0xA1,len(data),data);
and that also sends a forged ACK if needed."""
data = "";
self.writecmd(self.CCSPIAPP,0xA1,len(data),data);
- time.sleep(30);
+ print "Got:", data, "and", self.data
return;
def RF_modulated_spectrum(self):
return;
def RF_modulated_spectrum(self):