diff options
-rwxr-xr-x | apps/helpers/grgsm_capture.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/helpers/grgsm_capture.py b/apps/helpers/grgsm_capture.py index bdce7d8..f5d2651 100755 --- a/apps/helpers/grgsm_capture.py +++ b/apps/helpers/grgsm_capture.py @@ -61,7 +61,7 @@ class grgsm_capture(gr.top_block): # Processing Blocks ################################################## - self.rtlsdr_source = osmosdr.source( args="numchan=" + str(1) + " " + "" ) + self.rtlsdr_source = osmosdr.source( args="numchan=" + str(1) + " " + args ) self.rtlsdr_source.set_sample_rate(samp_rate) self.rtlsdr_source.set_center_freq(fc - shiftoff, 0) self.rtlsdr_source.set_freq_corr(ppm, 0) @@ -261,7 +261,7 @@ if __name__ == '__main__': tb = grgsm_capture(fc=fc, gain=options.gain, samp_rate=options.samp_rate, ppm=options.ppm, arfcn=arfcn, cfile=options.cfile, burst_file=options.burst_file, band=options.band, verbose=options.verbose, - rec_length=options.rec_length) + rec_length=options.rec_length, args=options.args) def signal_handler(signal, frame): tb.stop() |