projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
D'oh! Reverting a commit that would crash Xorg with goodfet.maxusbhid.
[goodfet]
/
client
/
GoodFETNRF.py
diff --git
a/client/GoodFETNRF.py
b/client/GoodFETNRF.py
index
093fc4b
..
70a0cb1
100644
(file)
--- a/
client/GoodFETNRF.py
+++ b/
client/GoodFETNRF.py
@@
-65,9
+65,11
@@
class GoodFETNRF(GoodFET):
data=data+[(val>>(8*i))&0xFF];
self.writecmd(self.NRFAPP,0x03,len(data),data);
if self.peek(reg,bytes)!=val and reg!=0x07:
data=data+[(val>>(8*i))&0xFF];
self.writecmd(self.NRFAPP,0x03,len(data),data);
if self.peek(reg,bytes)!=val and reg!=0x07:
- print "Warning, failed to set r%02x=%02x, got %02x." %(reg,
- val,
- self.peek(reg,bytes));
+ print "Warning, failed to set r%02x=%02x, got %02x." %(
+ reg,
+ val,
+ self.peek(reg,bytes));
+
return;
def status(self):
return;
def status(self):