projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Closer to working bluetooth. Still need a way around the reset troubles.
[goodfet]
/
client
/
GoodFETNRF.py
diff --git
a/client/GoodFETNRF.py
b/client/GoodFETNRF.py
index
3b3a498
..
85a687b
100644
(file)
--- a/
client/GoodFETNRF.py
+++ b/
client/GoodFETNRF.py
@@
-86,7
+86,7
@@
class GoodFETNRF(GoodFET):
return "GFSK";
def RF_getrate(self):
rate=self.peek(0x06)&0x28;
return "GFSK";
def RF_getrate(self):
rate=self.peek(0x06)&0x28;
- if rate==0x2
8
:
+ if rate==0x2
0
:
rate=250*10**3; #256kbps
elif rate==0x08:
rate=2*10**6; #2Mbps
rate=250*10**3; #256kbps
elif rate==0x08:
rate=2*10**6; #2Mbps