diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-06-28 11:37:45 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-06-28 11:37:45 -0700 |
commit | e8e6ab08a7f943db17666bef4c49f8a4aef3b60f (patch) | |
tree | c07db2c432de1a6b3fcbb1a8a3bef8d79840cc31 /gr-uhd | |
parent | c35415fdc5d3a705ca1c63e48dde7486b234323d (diff) | |
parent | 2013f22b4e2203f88f482ff545aaafee35c72494 (diff) |
Merge remote-tracking branch 'pinkavaj/static-m-00'
Diffstat (limited to 'gr-uhd')
-rw-r--r-- | gr-uhd/apps/hf_radio/input.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-uhd/apps/hf_radio/input.py b/gr-uhd/apps/hf_radio/input.py index fd2ac47a5c..49df347e8b 100644 --- a/gr-uhd/apps/hf_radio/input.py +++ b/gr-uhd/apps/hf_radio/input.py @@ -65,6 +65,7 @@ class uhd_input(gr.hier_block2): self.gain = gain self.src.set_gain(gain, 0) + @staticmethod def add_options(parser): parser.add_option("-a", "--address", type="string", default="addr=192.168.10.2", @@ -75,4 +76,3 @@ class uhd_input(gr.hier_block2): help="set frequency to FREQ", metavar="FREQ") parser.add_option("-g", "--gain", type="eng_float", default=None, help="set gain in dB (default is midpoint)") - add_options = staticmethod(add_options) |