diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2013-12-19 14:43:42 +0100 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-12-22 17:05:08 +0100 |
commit | 2287f08bad983a6358264b8b1dbb93d5533de471 (patch) | |
tree | 1d0d0a033f07a3179212c8846c2315f1f81c26f7 | |
parent | 9c6ac9e3e3878a5cbe1a261e91350a9123dec532 (diff) |
osmocom_fft: Properly set initial sample rate for fosphor output
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rwxr-xr-x | apps/osmocom_fft | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/osmocom_fft b/apps/osmocom_fft index 286ea0a..7a7168d 100755 --- a/apps/osmocom_fft +++ b/apps/osmocom_fft @@ -176,6 +176,7 @@ class app_top_block(stdgui2.std_top_block, pubsub): if options.fosphor: from gnuradio import fosphor self.scope = fosphor.wx_sink_c(panel, size=(800,300)) + self.scope.set_sample_rate(input_rate) self.frame.SetMinSize((800,600)) elif options.waterfall: self.scope = waterfallsink2.waterfall_sink_c (panel, |