diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-10-17 11:14:48 +0700 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@users.noreply.github.com> | 2017-11-05 17:33:26 +0100 |
commit | 5d68aa5620666a8ba84ca41eecd8f7987a869119 (patch) | |
tree | bdf0865a49a6ed9543383ca9f0d191573fd14084 /python/trx | |
parent | 962e2d83bb0eb62e6d1222339977c2f5f23d0dbd (diff) |
apps/grgsm_trx: get rid of unused subdev_spec
This could be specified via the device_args,
for example: "subdev=B:0".
Diffstat (limited to 'python/trx')
-rw-r--r-- | python/trx/radio_if.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/python/trx/radio_if.py b/python/trx/radio_if.py index 5791f42..a6cd23c 100644 --- a/python/trx/radio_if.py +++ b/python/trx/radio_if.py @@ -36,7 +36,6 @@ class radio_if(gr.top_block): # PHY specific variables samp_rate = 2000000 shiftoff = 400e3 - subdev_spec = "" # TODO: use it device_args = "" fc = 941.6e6 # TODO: set ARFCN to 0? gain = 30 @@ -46,9 +45,8 @@ class radio_if(gr.top_block): trx_started = False fc_set = False - def __init__(self, phy_args, phy_subdev_spec, - phy_sample_rate, phy_gain, phy_ppm, - trx_remote_addr, trx_base_port): + def __init__(self, phy_args, phy_sample_rate, phy_gain, phy_ppm, + trx_remote_addr, trx_base_port): print("[i] Init Radio interface") # TRX block specific variables @@ -56,7 +54,6 @@ class radio_if(gr.top_block): self.trx_base_port = trx_base_port # PHY specific variables - self.subdev_spec = phy_subdev_spec self.samp_rate = phy_sample_rate self.device_args = phy_args self.gain = phy_gain |