diff options
author | Philip Balister <philip@opensdr.com> | 2010-10-27 06:27:05 -0400 |
---|---|---|
committer | Philip Balister <philip@opensdr.com> | 2010-10-27 06:27:05 -0400 |
commit | fbdb002223f54bedbc7a4093494011c1b266fa75 (patch) | |
tree | c8ba9446f117893cb28c00b91f953b5339c71f5f /host/test | |
parent | db0e3e574e9058ad51cacea91ccc42f0baed95fa (diff) | |
parent | ef8ed898cbc6cb6cd1994d2a8b090112f4f3a664 (diff) | |
download | uhd-fbdb002223f54bedbc7a4093494011c1b266fa75.tar.gz uhd-fbdb002223f54bedbc7a4093494011c1b266fa75.tar.bz2 uhd-fbdb002223f54bedbc7a4093494011c1b266fa75.zip |
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
Diffstat (limited to 'host/test')
-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; } |