aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/uhd_cal_tx_iq_balance.cpp
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2012-11-19 12:23:44 -0800
committerNicholas Corgan <nick.corgan@ettus.com>2012-11-19 12:23:44 -0800
commit1bf31032162c5fcf83364bb2b94255ed2c739d73 (patch)
tree02d890d5d22f61121748f1fab14e7f805d3f98d8 /host/utils/uhd_cal_tx_iq_balance.cpp
parentb65a3924808b48e170042f1f8ca416bd985a852f (diff)
parenteaadc6e89a6bc99e5c1006c7d2aabc1dd7934178 (diff)
downloaduhd-1bf31032162c5fcf83364bb2b94255ed2c739d73.tar.gz
uhd-1bf31032162c5fcf83364bb2b94255ed2c739d73.tar.bz2
uhd-1bf31032162c5fcf83364bb2b94255ed2c739d73.zip
Merge branch 'maint'
Diffstat (limited to 'host/utils/uhd_cal_tx_iq_balance.cpp')
-rw-r--r--host/utils/uhd_cal_tx_iq_balance.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/utils/uhd_cal_tx_iq_balance.cpp b/host/utils/uhd_cal_tx_iq_balance.cpp
index 4c8642660..20d018edf 100644
--- a/host/utils/uhd_cal_tx_iq_balance.cpp
+++ b/host/utils/uhd_cal_tx_iq_balance.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010 Ettus Research LLC
+// Copyright 2010,2012 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -139,6 +139,9 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
usrp->set_rx_antenna("CAL");
usrp->set_tx_antenna("CAL");
+ //fail if daughterboard has no serial
+ check_for_empty_serial(usrp, "TX", "tx", args);
+
//set optimum defaults
set_optimum_defaults(usrp);