aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common
diff options
context:
space:
mode:
authorAndrej Rode <andrej.rode@ettus.com>2016-12-16 17:59:58 -0800
committerMartin Braun <martin.braun@ettus.com>2017-01-12 15:15:37 -0800
commit6e3939f4a56e8daa82fe00c130208cbe6db3f7c1 (patch)
tree8d0fc7764fc1abf32e9718e0880d15cf2dde7d94 /host/lib/usrp/common
parent797249bf725051a07ad128b27a7f01d7be86f01c (diff)
downloaduhd-6e3939f4a56e8daa82fe00c130208cbe6db3f7c1.tar.gz
uhd-6e3939f4a56e8daa82fe00c130208cbe6db3f7c1.tar.bz2
uhd-6e3939f4a56e8daa82fe00c130208cbe6db3f7c1.zip
lib: remove statements after throw
Diffstat (limited to 'host/lib/usrp/common')
-rw-r--r--host/lib/usrp/common/ad9361_driver/ad9361_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/common/ad9361_driver/ad9361_device.cpp b/host/lib/usrp/common/ad9361_driver/ad9361_device.cpp
index 58663e8e5..e2ed2c77d 100644
--- a/host/lib/usrp/common/ad9361_driver/ad9361_device.cpp
+++ b/host/lib/usrp/common/ad9361_driver/ad9361_device.cpp
@@ -491,8 +491,8 @@ double ad9361_device_t::_calibrate_secondary_tx_filter(double req_rfbw)
} else if ((bbbw_mhz * 2) > 24) {
reg0d0 = 0x57;
} else {
- throw uhd::runtime_error("[ad9361_device_t] Cal2ndTxFil: INVALID_CODE_PATH bad bbbw_mhz");
reg0d0 = 0x00;
+ throw uhd::runtime_error("[ad9361_device_t] Cal2ndTxFil: INVALID_CODE_PATH bad bbbw_mhz");
}
/* Translate resistor values to register settings. */