aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/db_xcvr2450.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-26 14:42:32 -0700
committerJosh Blum <josh@joshknows.com>2010-04-26 14:42:32 -0700
commit90ed2e3a80eef0be3a7270364335f0e82f004cc1 (patch)
tree1db6d92ba1c5c4086d23e1e19528ce43e778b549 /host/lib/usrp/dboard/db_xcvr2450.cpp
parentf040d79d256bcdfcd931ab93e00b66f6af881a14 (diff)
downloaduhd-90ed2e3a80eef0be3a7270364335f0e82f004cc1.tar.gz
uhd-90ed2e3a80eef0be3a7270364335f0e82f004cc1.tar.bz2
uhd-90ed2e3a80eef0be3a7270364335f0e82f004cc1.zip
prefixed the ASSERT_THROW macro with UHD for the sake of namespace
Diffstat (limited to 'host/lib/usrp/dboard/db_xcvr2450.cpp')
-rw-r--r--host/lib/usrp/dboard/db_xcvr2450.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/db_xcvr2450.cpp b/host/lib/usrp/dboard/db_xcvr2450.cpp
index 2052511f8..576d08848 100644
--- a/host/lib/usrp/dboard/db_xcvr2450.cpp
+++ b/host/lib/usrp/dboard/db_xcvr2450.cpp
@@ -395,7 +395,7 @@ void xcvr2450::set_tx_gain(float gain, const std::string &name){
_max2829_regs.tx_baseband_gain = gain_to_tx_bb_reg(gain);
send_reg(0x9);
}
- else ASSERT_THROW(false);
+ else UHD_ASSERT_THROW(false);
_tx_gains[name] = gain;
}
@@ -409,7 +409,7 @@ void xcvr2450::set_rx_gain(float gain, const std::string &name){
_max2829_regs.rx_lna_gain = gain_to_rx_lna_reg(gain);
send_reg(0xB);
}
- else ASSERT_THROW(false);
+ else UHD_ASSERT_THROW(false);
_rx_gains[name] = gain;
}