#
# This code is being rewritten and refactored. You've been warned!
-import sys, time, string, cStringIO, struct, glob, serial, os;
+import sys, time, string, cStringIO, struct, glob, os;
from GoodFET import GoodFET;
return "GFSK";
def RF_getrate(self):
rate=self.peek(0x06)&0x28;
- if rate==0x28:
+ if rate==0x20:
rate=250*10**3; #256kbps
elif rate==0x08:
rate=2*10**6; #2Mbps