diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-21 15:29:03 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-21 15:29:03 -0700 |
commit | 1e57eec9999e1a9d0a735c04173c78164ce8afcd (patch) | |
tree | e34b3e52fe4c7a34a6588e15efbb8416b29d81b5 /host/test/gain_group_test.cpp | |
parent | 5bf9e60baf7b85db3da0d41b97d9fe4e9b3e64bd (diff) | |
parent | e2f76bddae7845024056b479658651c6da2b0f4d (diff) | |
download | uhd-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.cpp | 4 |
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; } |