From 9d4350d74ea926999780ded0016c5ad51874ebec Mon Sep 17 00:00:00 2001 From: Jason Abele Date: Mon, 7 Nov 2011 15:28:16 -0800 Subject: Updated typos in XCVR2450 dboard property tree code --- host/lib/usrp/dboard/db_xcvr2450.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'host') 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("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("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("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("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("gains/"+name+"/range") + .set(xcvr_tx_gain_ranges[name]); } this->get_tx_subtree()->create("freq/value") .coerce(boost::bind(&xcvr2450::set_lo_freq, this, _1)) -- cgit v1.2.3