summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-05-04 10:14:41 +0000
committerJosh Blum <josh@joshknows.com>2010-05-04 10:14:41 +0000
commit28e7c95a7c96ca3a07c6e5450bfc9c6c3d1bf2a4 (patch)
tree0625164f04aa9d090d7b948dd6481a6b880709c1 /host/lib/usrp
parent11a7ca4e6bd92f9809a5cf050a1ea269b207e1d5 (diff)
parent38995223825c741cdf22ca2977ec9edf82fe2ae1 (diff)
downloaduhd-28e7c95a7c96ca3a07c6e5450bfc9c6c3d1bf2a4.tar.gz
uhd-28e7c95a7c96ca3a07c6e5450bfc9c6c3d1bf2a4.tar.bz2
uhd-28e7c95a7c96ca3a07c6e5450bfc9c6c3d1bf2a4.zip
Merge branch 'master' of git@ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/dboard/db_xcvr2450.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/db_xcvr2450.cpp b/host/lib/usrp/dboard/db_xcvr2450.cpp
index 3bf866fc8..3472229f4 100644
--- a/host/lib/usrp/dboard/db_xcvr2450.cpp
+++ b/host/lib/usrp/dboard/db_xcvr2450.cpp
@@ -373,8 +373,7 @@ static max2829_regs_t::tx_baseband_gain_t gain_to_tx_bb_reg(float &gain){
gain = 5;
return max2829_regs_t::TX_BASEBAND_GAIN_5DB;
}
- BOOST_THROW_EXCEPTION(std::runtime_error("should not get here"));
- return max2829_regs_t::TX_BASEBAND_GAIN_0DB;
+ UHD_ASSERT_THROW(false);
}
/*!