aboutsummaryrefslogtreecommitdiffstats
path: root/host/test/gain_group_test.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-21 15:29:03 -0700
committerJosh Blum <josh@joshknows.com>2010-10-21 15:29:03 -0700
commit1e57eec9999e1a9d0a735c04173c78164ce8afcd (patch)
treee34b3e52fe4c7a34a6588e15efbb8416b29d81b5 /host/test/gain_group_test.cpp
parent5bf9e60baf7b85db3da0d41b97d9fe4e9b3e64bd (diff)
parente2f76bddae7845024056b479658651c6da2b0f4d (diff)
downloaduhd-1e57eec9999e1a9d0a735c04173c78164ce8afcd.tar.gz
uhd-1e57eec9999e1a9d0a735c04173c78164ce8afcd.tar.bz2
uhd-1e57eec9999e1a9d0a735c04173c78164ce8afcd.zip
Merge branch 'master' into flow_ctrl
Diffstat (limited to 'host/test/gain_group_test.cpp')
-rw-r--r--host/test/gain_group_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/test/gain_group_test.cpp b/host/test/gain_group_test.cpp
index 761372e5a..555ccaed3 100644
--- a/host/test/gain_group_test.cpp
+++ b/host/test/gain_group_test.cpp
@@ -81,12 +81,12 @@ static gain_group::sptr get_gain_group(size_t pri1 = 0, size_t pri2 = 0){
gain_fcns.get_range = boost::bind(&gain_element1::get_range, &g1);
gain_fcns.get_value = boost::bind(&gain_element1::get_value, &g1);
gain_fcns.set_value = boost::bind(&gain_element1::set_value, &g1, _1);
- gg->register_fcns(gain_fcns, pri1);
+ gg->register_fcns("g1", gain_fcns, pri1);
gain_fcns.get_range = boost::bind(&gain_element2::get_range, &g2);
gain_fcns.get_value = boost::bind(&gain_element2::get_value, &g2);
gain_fcns.set_value = boost::bind(&gain_element2::set_value, &g2, _1);
- gg->register_fcns(gain_fcns, pri2);
+ gg->register_fcns("g2", gain_fcns, pri2);
return gg;
}