aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorLars Amsel <lars.amsel@ni.com>2021-06-15 10:23:22 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-06-23 13:57:15 -0500
commit9281d34fd16dd32bb61ce995da6b9a691c9718bd (patch)
treedd6502d85fe5bbd29daad46bead914f9a03e7786 /host/utils
parent7efa398272b1c41884dd727045f2ae8e64cbf647 (diff)
downloaduhd-9281d34fd16dd32bb61ce995da6b9a691c9718bd.tar.gz
uhd-9281d34fd16dd32bb61ce995da6b9a691c9718bd.tar.bz2
uhd-9281d34fd16dd32bb61ce995da6b9a691c9718bd.zip
cal: Add X410 internal antenna names to invalid antenna list
Added CAL_LOOPBACK and TERMINATION to invalid antenna list
Diffstat (limited to 'host/utils')
-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 2add83e8f..b9029cc60 100644
--- a/host/utils/uhd_power_cal.py
+++ b/host/utils/uhd_power_cal.py
@@ -125,7 +125,7 @@ def sanitize_args(usrp, args, default_rate):
print("=== Calibrating for channels:", ", ".join([str(x) for x in channels]))
available_ants = getattr(usrp, 'get_{}_antennas'.format(args.dir))()
if args.antenna == '*':
- invalid_antennas = ('CAL', 'LOCAL')
+ invalid_antennas = ('CAL', 'LOCAL', 'CAL_LOOPBACK', 'TERMINATION')
antennas = [x for x in available_ants if x not in invalid_antennas]
else:
try: