diff options
Diffstat (limited to 'host')
-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); } /*! |