aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2018-06-02 12:27:58 +0200
committerGitHub <noreply@github.com>2018-06-02 12:27:58 +0200
commitea44d98558eee1751e77f02b7bb46f3f1ae269b4 (patch)
treeffbfe59463e0772356eac8d7a64448d35511d49f
parent2779e620941c99906d558808cd02537e9034b608 (diff)
Commenting out a line causeing crash on HackRF
-rwxr-xr-xapps/grgsm_scanner2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/grgsm_scanner b/apps/grgsm_scanner
index 1bff63a..b57569d 100755
--- a/apps/grgsm_scanner
+++ b/apps/grgsm_scanner
@@ -209,7 +209,7 @@ class wideband_scanner(gr.top_block):
# if no file name is given process data from rtl_sdr source
print "Args=", args
self.rtlsdr_source = osmosdr.source(args="numchan=" + str(1) + " " + args)
- self.rtlsdr_source.set_min_output_buffer(int(sample_rate*rec_len))
+ #self.rtlsdr_source.set_min_output_buffer(int(sample_rate*rec_len)) #this line causes segfaults on HackRF
self.rtlsdr_source.set_sample_rate(sample_rate)
# capture half of GSM channel lower than channel center (-0.1MHz)