diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-06-02 14:59:47 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:58 -0800 |
commit | 11401e2564bd50bdd76c84d9baedbb797ecf3f61 (patch) | |
tree | 00cd5ef509a5b0a111736630f440a46690550584 /host/lib/usrp/mpmd/mpmd_impl.cpp | |
parent | 18098228932f3e25e3ac1750599c5e531657f161 (diff) | |
download | uhd-11401e2564bd50bdd76c84d9baedbb797ecf3f61.tar.gz uhd-11401e2564bd50bdd76c84d9baedbb797ecf3f61.tar.bz2 uhd-11401e2564bd50bdd76c84d9baedbb797ecf3f61.zip |
rpc: Changed API to request/notify for better distinction between the two
Diffstat (limited to 'host/lib/usrp/mpmd/mpmd_impl.cpp')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_impl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_impl.cpp b/host/lib/usrp/mpmd/mpmd_impl.cpp index efc89f86e..f1c5efc14 100644 --- a/host/lib/usrp/mpmd/mpmd_impl.cpp +++ b/host/lib/usrp/mpmd/mpmd_impl.cpp @@ -140,16 +140,16 @@ void mpmd_impl::setup_rfnoc_blocks( const uhd::device_addr_t& ctrl_xport_args ) { auto &mb = _mb[mb_index]; - mb->num_xbars = mb->rpc->call<size_t>("get_num_xbars"); + mb->num_xbars = mb->rpc->request<size_t>("get_num_xbars"); UHD_LOG_TRACE("MPM", "Mboard " << mb_index << " reports " << mb->num_xbars << " crossbar(s)." ); for (size_t xbar_index = 0; xbar_index < mb->num_xbars; xbar_index++) { const size_t num_blocks = - mb->rpc->call<size_t>("get_num_blocks", xbar_index); + mb->rpc->request<size_t>("get_num_blocks", xbar_index); const size_t base_port = - mb->rpc->call<size_t>("get_base_port", xbar_index); + mb->rpc->request<size_t>("get_base_port", xbar_index); const size_t local_addr = mb->get_xbar_local_addr(xbar_index); UHD_LOGGER_TRACE("MPMD") << "Enumerating RFNoC blocks for xbar " << xbar_index |