Skip to content

Commit c64b5ea

Browse files
author
test
committed
hackrf test 123
1 parent 8717d9e commit c64b5ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontends/hackrf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def capture(self):
3636
# hackrf_transfer -H -d <serial number> -a 0 -l 32 -g 32 -r rx1.cs8
3737
def arm(self):
3838
try:
39-
self.hackrf_proc = subprocess.Popen(["hackrf_transfer","-H","-a","0","-l","32","-g","32","-n","10000","-r","-"],stdout=subprocess.PIPE,stderr=subprocess.PIPE,text=False)
39+
self.hackrf_proc = subprocess.Popen(["hackrf_transfer","-H","-f","8100000","-s","4000000","-a","0","-l","32","-g","32","-n","10000","-r","-"],stdout=subprocess.PIPE,stderr=subprocess.PIPE,text=False)
4040
except:
4141
print("hackrf: could not open process")
4242
sys.exit(0)

0 commit comments

Comments
 (0)