diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-11-08 10:46:45 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 12:21:33 -0800 |
commit | ec488d49c04aab347ebdfa0da3e516fc34610b0b (patch) | |
tree | b9cc3a3f04e95f2467d8843f179f0a5a57627789 /host | |
parent | 74b0352c4a2b5e54f7f7d5a46bf1c957a946a0f4 (diff) | |
download | uhd-ec488d49c04aab347ebdfa0da3e516fc34610b0b.tar.gz uhd-ec488d49c04aab347ebdfa0da3e516fc34610b0b.tar.bz2 uhd-ec488d49c04aab347ebdfa0da3e516fc34610b0b.zip |
mpm/mpmd: Remove token requirement for device info
This removes the token requirement for get_proto_ver() and
get_chdr_width().
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_mb_iface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_mb_iface.cpp b/host/lib/usrp/mpmd/mpmd_mb_iface.cpp index b113ad596..cb779f635 100644 --- a/host/lib/usrp/mpmd/mpmd_mb_iface.cpp +++ b/host/lib/usrp/mpmd/mpmd_mb_iface.cpp @@ -84,12 +84,12 @@ void mpmd_mboard_impl::mpmd_mb_iface::init() *****************************************************************************/ uint16_t mpmd_mboard_impl::mpmd_mb_iface::get_proto_ver() { - return _rpc->request_with_token<uint16_t>("get_proto_ver"); + return _rpc->request<uint16_t>("get_proto_ver"); } uhd::rfnoc::chdr_w_t mpmd_mboard_impl::mpmd_mb_iface::get_chdr_w() { - const auto chdr_w_bits = _rpc->request_with_token<size_t>("get_chdr_width"); + const auto chdr_w_bits = _rpc->request<size_t>("get_chdr_width"); switch (chdr_w_bits) { case 512: return CHDR_W_512; |