From 9281d34fd16dd32bb61ce995da6b9a691c9718bd Mon Sep 17 00:00:00 2001 From: Lars Amsel Date: Tue, 15 Jun 2021 10:23:22 +0200 Subject: cal: Add X410 internal antenna names to invalid antenna list Added CAL_LOOPBACK and TERMINATION to invalid antenna list --- host/utils/uhd_power_cal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3