aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorJason Abele <jason@ettus.com>2011-11-07 15:28:16 -0800
committerJosh Blum <josh@joshknows.com>2011-11-07 16:34:41 -0800
commit9d4350d74ea926999780ded0016c5ad51874ebec (patch)
tree0524fb3f07694eb117eecbfaf9ce4fd1945a17ee /host/lib/usrp
parentd28e3ac765273d7684386c1985802000d22eeea6 (diff)
downloaduhd-9d4350d74ea926999780ded0016c5ad51874ebec.tar.gz
uhd-9d4350d74ea926999780ded0016c5ad51874ebec.tar.bz2
uhd-9d4350d74ea926999780ded0016c5ad51874ebec.zip
Updated typos in XCVR2450 dboard property tree code
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/dboard/db_xcvr2450.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/host/lib/usrp/dboard/db_xcvr2450.cpp b/host/lib/usrp/dboard/db_xcvr2450.cpp
index bdc6aa9fe..cf1637335 100644
--- a/host/lib/usrp/dboard/db_xcvr2450.cpp
+++ b/host/lib/usrp/dboard/db_xcvr2450.cpp
@@ -269,12 +269,12 @@ xcvr2450::xcvr2450(ctor_args_t args) : xcvr_dboard_base(args){
.set(get_tx_id().to_pp_string());
this->get_tx_subtree()->create<sensor_value_t>("sensors/lo_locked")
.publish(boost::bind(&xcvr2450::get_locked, this));
- BOOST_FOREACH(const std::string &name, xcvr_rx_gain_ranges.keys()){
- this->get_rx_subtree()->create<double>("gains/"+name+"/value")
- .coerce(boost::bind(&xcvr2450::set_rx_gain, this, _1, name))
- .set(xcvr_rx_gain_ranges[name].start());
- this->get_rx_subtree()->create<meta_range_t>("gains/"+name+"/range")
- .set(xcvr_rx_gain_ranges[name]);
+ BOOST_FOREACH(const std::string &name, xcvr_tx_gain_ranges.keys()){
+ this->get_tx_subtree()->create<double>("gains/"+name+"/value")
+ .coerce(boost::bind(&xcvr2450::set_tx_gain, this, _1, name))
+ .set(xcvr_tx_gain_ranges[name].start());
+ this->get_tx_subtree()->create<meta_range_t>("gains/"+name+"/range")
+ .set(xcvr_tx_gain_ranges[name]);
}
this->get_tx_subtree()->create<double>("freq/value")
.coerce(boost::bind(&xcvr2450::set_lo_freq, this, _1))