projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reading status works.
[goodfet]
/
client
/
GoodFETEM260.py
diff --git
a/client/GoodFETEM260.py
b/client/GoodFETEM260.py
index
7bc51ac
..
93d1bcb
100644
(file)
--- a/
client/GoodFETEM260.py
+++ b/
client/GoodFETEM260.py
@@
-84,7
+84,7
@@
class GoodFETEM260(GoodFETSPI):
return self.EM260spistatus();
if status==0x02:
return self.EM260spistatus();
- if not status&0x
C
0:
+ if not status&0x
80 and status&0x4
0:
print "Status misread.";
return 0;
return status&1;