diff options
Diffstat (limited to 'gnuradio-examples/python/hier/sounder/usrp_sink.py')
-rw-r--r-- | gnuradio-examples/python/hier/sounder/usrp_sink.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gnuradio-examples/python/hier/sounder/usrp_sink.py b/gnuradio-examples/python/hier/sounder/usrp_sink.py index 000b831f5d..03a987d41c 100644 --- a/gnuradio-examples/python/hier/sounder/usrp_sink.py +++ b/gnuradio-examples/python/hier/sounder/usrp_sink.py @@ -46,10 +46,7 @@ class usrp_sink_c(gr.hier_block2): self.set_if_rate(if_rate) self.set_calibration(calibration) self.tune(freq) - - self.define_component("usrp", self._u) - self.connect("self", 0, "usrp", 0) - + self.connect(self, self._u) def set_subdev(self, subdev_spec): if subdev_spec is None: |