aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard_manager.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-29 11:26:33 -0700
committerJosh Blum <josh@joshknows.com>2011-06-29 11:26:33 -0700
commit54b8be72fd07bb51568ad5c4bad678b081a8dbe5 (patch)
tree7a4795ebc40ff97c740fcfc828e40d3378ad9650 /host/lib/usrp/dboard_manager.cpp
parentbcd2c4e2839aefdb8c8031f51c08bbc8e2be447e (diff)
downloaduhd-54b8be72fd07bb51568ad5c4bad678b081a8dbe5.tar.gz
uhd-54b8be72fd07bb51568ad5c4bad678b081a8dbe5.tar.bz2
uhd-54b8be72fd07bb51568ad5c4bad678b081a8dbe5.zip
uhd: properties tweaks and docs
Diffstat (limited to 'host/lib/usrp/dboard_manager.cpp')
-rw-r--r--host/lib/usrp/dboard_manager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/usrp/dboard_manager.cpp b/host/lib/usrp/dboard_manager.cpp
index b1c10e1c1..d5e7d5b8a 100644
--- a/host/lib/usrp/dboard_manager.cpp
+++ b/host/lib/usrp/dboard_manager.cpp
@@ -483,19 +483,19 @@ void dboard_manager::populate_prop_tree_from_subdev(
tree->create<int>(root / "gains"); //phony property so this dir exists
BOOST_FOREACH(const std::string &name, gain_names){
tree->create<double>(root / "gains" / name / "value")
- .subscribe_master(boost::bind(&get_set_gain, subdev, name, _1));
+ .coerce(boost::bind(&get_set_gain, subdev, name, _1));
tree->create<meta_range_t>(root / "gains" / name / "range")
.publish(boost::bind(&get_gain_range, subdev, name));
}
tree->create<double>(root / "freq/value")
- .subscribe_master(boost::bind(&get_set_freq, subdev, _1));
+ .coerce(boost::bind(&get_set_freq, subdev, _1));
tree->create<meta_range_t>(root / "freq/range")
.publish(boost::bind(&get_freq_range, subdev));
tree->create<std::string>(root / "antenna/value")
- .subscribe_master(boost::bind(&get_set_ant, subdev, _1));
+ .coerce(boost::bind(&get_set_ant, subdev, _1));
tree->create<std::vector<std::string> >(root / "antenna/options")
.publish(boost::bind(&get_ants, subdev));
@@ -504,11 +504,11 @@ void dboard_manager::populate_prop_tree_from_subdev(
.publish(boost::bind(&get_conn, subdev));
tree->create<bool>(root / "enabled")
- .subscribe_master(boost::bind(&get_set_enb, subdev, _1));
+ .coerce(boost::bind(&get_set_enb, subdev, _1));
tree->create<bool>(root / "use_lo_offset")
.publish(boost::bind(&get_use_lo_off, subdev));
tree->create<double>(root / "bandwidth/value")
- .subscribe_master(boost::bind(&get_set_bw, subdev, _1));
+ .coerce(boost::bind(&get_set_bw, subdev, _1));
}