summaryrefslogtreecommitdiff
path: root/gr-uhd/apps
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/apps')
-rw-r--r--gr-uhd/apps/hf_radio/input.py4
-rw-r--r--gr-uhd/apps/uhd_siggen_base.py4
2 files changed, 5 insertions, 3 deletions
diff --git a/gr-uhd/apps/hf_radio/input.py b/gr-uhd/apps/hf_radio/input.py
index 78e800bb6c..fd2ac47a5c 100644
--- a/gr-uhd/apps/hf_radio/input.py
+++ b/gr-uhd/apps/hf_radio/input.py
@@ -47,8 +47,8 @@ class uhd_input(gr.hier_block2):
"""
Set the center frequency.
- @param target_freq: frequency in Hz
- @type: bool
+ Args:
+ target_freq: frequency in Hz
"""
r = self.src.set_center_freq(target_freq, 0)
diff --git a/gr-uhd/apps/uhd_siggen_base.py b/gr-uhd/apps/uhd_siggen_base.py
index 8c69da1ccb..9eecddb756 100644
--- a/gr-uhd/apps/uhd_siggen_base.py
+++ b/gr-uhd/apps/uhd_siggen_base.py
@@ -151,7 +151,9 @@ class top_block(gr.top_block, pubsub):
def _set_tx_amplitude(self, ampl):
"""
Sets the transmit amplitude sent to the USRP
- @param ampl the amplitude or None for automatic
+
+ Args:
+ ampl: the amplitude or None for automatic
"""
ampl_range = self[AMPL_RANGE_KEY]
if ampl is None: