diff options
author | Josh Blum <josh@joshknows.com> | 2010-05-04 10:14:41 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-05-04 10:14:41 +0000 |
commit | 28e7c95a7c96ca3a07c6e5450bfc9c6c3d1bf2a4 (patch) | |
tree | 0625164f04aa9d090d7b948dd6481a6b880709c1 /host/lib | |
parent | 11a7ca4e6bd92f9809a5cf050a1ea269b207e1d5 (diff) | |
parent | 38995223825c741cdf22ca2977ec9edf82fe2ae1 (diff) | |
download | uhd-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')
-rw-r--r-- | host/lib/usrp/dboard/db_xcvr2450.cpp | 3 |
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); } /*! |