diff options
Diffstat (limited to 'gr-uhd/apps')
-rwxr-xr-x | gr-uhd/apps/uhd_fft | 4 | ||||
-rwxr-xr-x | gr-uhd/apps/uhd_rx_nogui | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gr-uhd/apps/uhd_fft b/gr-uhd/apps/uhd_fft index 7af2c5326..800a5fab8 100755 --- a/gr-uhd/apps/uhd_fft +++ b/gr-uhd/apps/uhd_fft @@ -118,6 +118,10 @@ class app_top_block(stdgui2.std_top_block): average=options.averaging, avg_alpha=options.avg_alpha, fft_rate=options.fft_rate) + def fftsink_callback(x, y): + self.set_freq(x) + + self.scope.set_callback(fftsink_callback) self.frame.SetMinSize((800, 420)) self.connect(self.u, self.scope) diff --git a/gr-uhd/apps/uhd_rx_nogui b/gr-uhd/apps/uhd_rx_nogui index 9977f55a3..f0cfdd8be 100755 --- a/gr-uhd/apps/uhd_rx_nogui +++ b/gr-uhd/apps/uhd_rx_nogui @@ -231,7 +231,7 @@ def main(): parser.add_option("-p", "--ctcss", type="float", default=None, metavar="FREQ", help="set CTCSS squelch to FREQ [default=%default]") - parser.add_option("-O", "--audio-output", type="string", default="", + parser.add_option("-O", "--audio-output", type="string", default="default", help="pcm device name. E.g., hw:0,0 or surround51 or /dev/dsp") parser.add_option("", "--show-async-msg", action="store_true", default=False, help="Show asynchronous message notifications from UHD [default=%default]") |