aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/uhd_power_cal.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-08-17 13:06:42 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2020-08-17 16:23:46 -0500
commit86ab211b84c132e61becc294acfff87e1751908d (patch)
treec718f49652434f1c5dedb4aafc90b2816392b198 /host/utils/uhd_power_cal.py
parentb9f9ca2d0fd43f2a55e4ed5301070585cbb1be3c (diff)
downloaduhd-86ab211b84c132e61becc294acfff87e1751908d.tar.gz
uhd-86ab211b84c132e61becc294acfff87e1751908d.tar.bz2
uhd-86ab211b84c132e61becc294acfff87e1751908d.zip
python: power cal: Minor fixes to power cal code
- Fix some typos - Fix incorrect arg name for RFSGPowerGenerator.enable() - Fix case where incorrect args would cause an uncaught TypeError. Now, if USRP is chose as signal generator, but fails to find one, a proper error is shown.
Diffstat (limited to 'host/utils/uhd_power_cal.py')
-rw-r--r--host/utils/uhd_power_cal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/uhd_power_cal.py b/host/utils/uhd_power_cal.py
index c598c1058..6be4cc534 100644
--- a/host/utils/uhd_power_cal.py
+++ b/host/utils/uhd_power_cal.py
@@ -67,7 +67,7 @@ def parse_args():
'The argument is generally positive, e.g. 30 means 30 dB of attenuation.')
parser.add_argument(
'--tone-freq', type=float, default=1e6,
- help='Frequency of the tone that is generated for Tx measurements. This'
+ help='Frequency of the tone that is generated for Tx measurements. This '
'has the same effect as setting an LO offset, except in software.')
parser.add_argument(
'--antenna', default="*",