fix subdev

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2013-04-14 01:35:34 +02:00
parent f25d21f505
commit 7be2000c2f

View File

@ -61,7 +61,8 @@ class adsb_rx_block (gr.top_block):
#if(options.rx_subdev_spec is None): #if(options.rx_subdev_spec is None):
# options.rx_subdev_spec = "" # options.rx_subdev_spec = ""
#self.u.set_subdev_spec(options.rx_subdev_spec) if not options.rx_subdev_spec is None:
self.u.set_subdev_spec(options.rx_subdev_spec)
if not options.antenna is None: if not options.antenna is None:
self.u.set_antenna(options.antenna) self.u.set_antenna(options.antenna)