forked from sdr/gr-osmosdr
osmocom_fft: Properly set initial sample rate for fosphor output
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
9c6ac9e3e3
commit
2287f08bad
|
@ -176,6 +176,7 @@ class app_top_block(stdgui2.std_top_block, pubsub):
|
||||||
if options.fosphor:
|
if options.fosphor:
|
||||||
from gnuradio import fosphor
|
from gnuradio import fosphor
|
||||||
self.scope = fosphor.wx_sink_c(panel, size=(800,300))
|
self.scope = fosphor.wx_sink_c(panel, size=(800,300))
|
||||||
|
self.scope.set_sample_rate(input_rate)
|
||||||
self.frame.SetMinSize((800,600))
|
self.frame.SetMinSize((800,600))
|
||||||
elif options.waterfall:
|
elif options.waterfall:
|
||||||
self.scope = waterfallsink2.waterfall_sink_c (panel,
|
self.scope = waterfallsink2.waterfall_sink_c (panel,
|
||||||
|
|
Loading…
Reference in New Issue